Mercurial > hg > soundsoftware-site
annotate app/views/attachments/.svn/text-base/_links.rhtml.svn-base @ 555:dd4c04e5756d feature_36
removed unused file.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 03 Aug 2011 15:16:41 +0100 |
parents | 513646585e45 |
children |
rev | line source |
---|---|
Chris@0 | 1 <div class="attachments"> |
Chris@0 | 2 <% for attachment in attachments %> |
Chris@0 | 3 <p><%= link_to_attachment attachment, :class => 'icon icon-attachment' -%> |
Chris@0 | 4 <%= h(" - #{attachment.description}") unless attachment.description.blank? %> |
Chris@0 | 5 <span class="size">(<%= number_to_human_size attachment.filesize %>)</span> |
Chris@0 | 6 <% if options[:deletable] %> |
Chris@0 | 7 <%= link_to image_tag('delete.png'), {:controller => 'attachments', :action => 'destroy', :id => attachment}, |
Chris@0 | 8 :confirm => l(:text_are_you_sure), |
Chris@0 | 9 :method => :post, |
Chris@0 | 10 :class => 'delete', |
Chris@0 | 11 :title => l(:button_delete) %> |
Chris@0 | 12 <% end %> |
Chris@0 | 13 <% if options[:author] %> |
Chris@0 | 14 <span class="author"><%= attachment.author %>, <%= format_time(attachment.created_on) %></span> |
Chris@0 | 15 <% end %> |
Chris@0 | 16 </p> |
Chris@0 | 17 <% end %> |
Chris@0 | 18 </div> |