##// END OF EJS Templates
Remove unecessary page title HTML escaping from views (#9252)....
Remove unecessary page title HTML escaping from views (#9252). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7565 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r6454:a8985e8ac44e
r7445:4ecd65c4658c
Show More
_links.html.erb
18 lines | 885 B | text/plain | TextLexer
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] %>
Toshi MARUYAMA
HTML escape at app/views/attachments/_links.rhtml....
r6238 <span class="author"><%= h(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>