##// END OF EJS Templates
Use #blank? instead....
Jean-Philippe Lang -
r6203:b30f70215660
parent child
Show More
@@ -206,7 +206,7 module IssuesHelper
206 unless no_html
206 unless no_html
207 label = content_tag('strong', label)
207 label = content_tag('strong', label)
208 old_value = content_tag("i", h(old_value)) if detail.old_value
208 old_value = content_tag("i", h(old_value)) if detail.old_value
209 old_value = content_tag("strike", old_value) if detail.old_value and (!detail.value or detail.value.empty?)
209 old_value = content_tag("strike", old_value) if detail.old_value and detail.value.blank?
210 if detail.property == 'attachment' && !value.blank? && a = Attachment.find_by_id(detail.prop_key)
210 if detail.property == 'attachment' && !value.blank? && a = Attachment.find_by_id(detail.prop_key)
211 # Link to the attachment if it has not been removed
211 # Link to the attachment if it has not been removed
212 value = link_to_attachment(a)
212 value = link_to_attachment(a)
General Comments 0
You need to be logged in to leave comments. Login now