##// END OF EJS Templates
Update version to 0.8.5....
Update version to 0.8.5. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2889 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2114:5d2899ee1b3e
r2775:cc3c8a717c48
Show More
_links.rhtml
18 lines | 882 B | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Attachments can now be added to wiki pages (original patch by Pavol Murin). Only authorized users can add/delete attachments....
r538 <div class="attachments">
<% for attachment in attachments %>
Jean-Philippe Lang
Appends the filename to the attachment url so that clients that ignore content-disposition http header get the real filename (#1649)....
r1669 <p><%= link_to_attachment attachment, :class => 'icon icon-attachment' -%>
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 <%= h(" - #{attachment.description}") unless attachment.description.blank? %>
<span class="size">(<%= number_to_human_size attachment.filesize %>)</span>
Jean-Philippe Lang
AttachmentsController now handles attachments deletion....
r2114 <% if options[:deletable] %>
<%= link_to image_tag('delete.png'), {:controller => 'attachments', :action => 'destroy', :id => attachment},
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 :confirm => l(:text_are_you_sure),
:method => :post,
:class => 'delete',
:title => l(:button_delete) %>
<% end %>
Jean-Philippe Lang
AttachmentsController now handles attachments deletion....
r2114 <% if options[:author] %>
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 <span class="author"><%= attachment.author %>, <%= format_time(attachment.created_on) %></span>
Jean-Philippe Lang
Attachments can now be added to wiki pages (original patch by Pavol Murin). Only authorized users can add/delete attachments....
r538 <% end %>
</p>
<% end %>
</div>