##// END OF EJS Templates
Obfuscates email address on user's account page using javascript....
Obfuscates email address on user's account page using javascript. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2072 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1669:9b579de9e234
r2070:5f3f2e756b46
Show More
_links.rhtml
18 lines | 878 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
Attachments can now be added to wiki pages (original patch by Pavol Murin). Only authorized users can add/delete attachments....
r538 <% if options[:delete_url] %>
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 <%= link_to image_tag('delete.png'), options[:delete_url].update({:attachment_id => attachment}),
:confirm => l(:text_are_you_sure),
:method => :post,
:class => 'delete',
:title => l(:button_delete) %>
<% end %>
<% unless options[:no_author] %>
<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>