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