##// END OF EJS Templates
Lists can be reordered with drag and drop (#12909)....
Lists can be reordered with drag and drop (#12909). git-svn-id: http://svn.redmine.org/redmine/trunk@15336 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14942:2fbce6515d6f
r14954:42b5c332b2c2
Show More
_links.html.erb
42 lines | 1.6 KiB | 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">
Jean-Philippe Lang
Edit attachments after upload (#1326)....
r13283 <div class="contextual">
Jean-Philippe Lang
Improve accessibility for icon-only links by adding hidden text (#21805)....
r14889 <%= link_to(l(:label_edit_attachments),
Jean-Philippe Lang
Replace uses of image_tag() with CSS (#21256)....
r14686 container_attachments_edit_path(container),
:title => l(:label_edit_attachments),
:class => 'icon-only icon-edit'
) if options[:editable] %>
Jean-Philippe Lang
Edit attachments after upload (#1326)....
r13283 </div>
Jean-Philippe Lang
Attachments can now be added to wiki pages (original patch by Pavol Murin). Only authorized users can add/delete attachments....
r538 <% for attachment in attachments %>
Jean-Philippe Lang
Change attachment link to download and add a view link for text attachments (#4774)....
r8525 <p><%= link_to_attachment attachment, :class => 'icon icon-attachment', :download => true -%>
Jean-Philippe Lang
Add inline image preview/display for attachments and repository entries (#22058)....
r14942 <% if attachment.is_text? || attachment.is_image? %>
Jean-Philippe Lang
Improve accessibility for icon-only links by adding hidden text (#21805)....
r14889 <%= link_to l(:button_view),
Jean-Philippe Lang
Replace uses of image_tag() with CSS (#21256)....
r14686 { :controller => 'attachments', :action => 'show',
:id => attachment, :filename => attachment.filename },
Jean-Philippe Lang
Improve accessibility for icon-only links by adding hidden text (#21805)....
r14889 :class => 'icon-only icon-magnifier',
Jean-Philippe Lang
Replace uses of image_tag() with CSS (#21256)....
r14686 :title => l(:button_view) %>
Jean-Philippe Lang
Change attachment link to download and add a view link for text attachments (#4774)....
r8525 <% end %>
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <%= " - #{attachment.description}" unless attachment.description.blank? %>
Jean-Philippe Lang
Moved the magnifier just after the filename....
r9198 <span class="size">(<%= number_to_human_size attachment.filesize %>)</span>
Toshi MARUYAMA
replace tabs to spaces at app/views/attachments/_links.html.erb...
r9190 <% if options[:deletable] %>
Jean-Philippe Lang
Improve accessibility for icon-only links by adding hidden text (#21805)....
r14889 <%= link_to l(:button_delete), attachment_path(attachment),
Jean-Philippe Lang
Replace uses of image_tag() with CSS (#21256)....
r14686 :data => {:confirm => l(:text_are_you_sure)},
:method => :delete,
:class => 'delete icon-only icon-del',
:title => l(:button_delete) %>
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 <% end %>
Jean-Philippe Lang
AttachmentsController now handles attachments deletion....
r2114 <% if options[:author] %>
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <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 %>
Jean-Philippe Lang
Displays thumbnails of attached images of the issue view (#1006)....
r9750 <% if defined?(thumbnails) && thumbnails %>
<% images = attachments.select(&:thumbnailable?) %>
<% if images.any? %>
<div class="thumbnails">
<% images.each do |attachment| %>
<div><%= thumbnail_tag(attachment) %></div>
<% end %>
</div>
<% end %>
<% end %>
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>