##// END OF EJS Templates
Do not display the magnifier for added files in email notifications (#4774)....
Jean-Philippe Lang -
r9199:331cf233457a
parent child
Show More
@@ -252,7 +252,7 module IssuesHelper
252 if detail.property == 'attachment' && !value.blank? && atta = Attachment.find_by_id(detail.prop_key)
252 if detail.property == 'attachment' && !value.blank? && atta = Attachment.find_by_id(detail.prop_key)
253 # Link to the attachment if it has not been removed
253 # Link to the attachment if it has not been removed
254 value = link_to_attachment(atta, :download => true, :only_path => options[:only_path])
254 value = link_to_attachment(atta, :download => true, :only_path => options[:only_path])
255 if atta.is_text?
255 if options[:only_path] != false && atta.is_text?
256 value += link_to(
256 value += link_to(
257 image_tag('magnifier.png'),
257 image_tag('magnifier.png'),
258 :controller => 'attachments', :action => 'show',
258 :controller => 'attachments', :action => 'show',
General Comments 0
You need to be logged in to leave comments. Login now