##// END OF EJS Templates
replace tabs to spaces at app/views/attachments/_links.html.erb...
Toshi MARUYAMA -
r9190:c1dd88b015db
parent child
Show More
@@ -3,12 +3,12
3 <p><%= link_to_attachment attachment, :class => 'icon icon-attachment', :download => true -%>
3 <p><%= link_to_attachment attachment, :class => 'icon icon-attachment', :download => true -%>
4 <%= h(" - #{attachment.description}") unless attachment.description.blank? %>
4 <%= h(" - #{attachment.description}") unless attachment.description.blank? %>
5 <span class="size">(<%= number_to_human_size attachment.filesize %>)</span>
5 <span class="size">(<%= number_to_human_size attachment.filesize %>)</span>
6 <% if attachment.is_text? %>
6 <% if attachment.is_text? %>
7 <%= link_to image_tag('magnifier.png'),
7 <%= link_to image_tag('magnifier.png'),
8 :controller => 'attachments', :action => 'show',
8 :controller => 'attachments', :action => 'show',
9 :id => attachment, :filename => attachment.filename %>
9 :id => attachment, :filename => attachment.filename %>
10 <% end %>
10 <% end %>
11 <% if options[:deletable] %>
11 <% if options[:deletable] %>
12 <%= link_to image_tag('delete.png'), attachment_path(attachment),
12 <%= link_to image_tag('delete.png'), attachment_path(attachment),
13 :confirm => l(:text_are_you_sure),
13 :confirm => l(:text_are_you_sure),
14 :method => :delete,
14 :method => :delete,
General Comments 0
You need to be logged in to leave comments. Login now