修改缺陷不能显示的bug
This commit is contained in:
parent
b415575e0e
commit
45fa01c773
|
@ -67,15 +67,15 @@ module IssuesHelper
|
|||
s.html_safe
|
||||
end
|
||||
|
||||
def link_to_issue_type
|
||||
if column_content[1].to_s == "缺陷"
|
||||
def link_to_issue_type(value)
|
||||
if value == "缺陷"
|
||||
class_type = "red_btn_cir ml10"
|
||||
elsif column_content[1] == "功能"
|
||||
class="blue_btn_cir ml10"
|
||||
elsif column_content[1] == "支持"
|
||||
class="green_btn_cir ml10"
|
||||
elsif value == "功能"
|
||||
class_type = "blue_btn_cir ml10"
|
||||
elsif value == "支持"
|
||||
class_type = "green_btn_cir ml10"
|
||||
else
|
||||
class_type="orange_btn_cir ml10">
|
||||
class_type = "orange_btn_cir ml10"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue