##// END OF EJS Templates
Fixes misspelled word "RMagcik" in configuration.yml.example (#21740)....
Fixes misspelled word "RMagcik" in configuration.yml.example (#21740). Patch by Tatsuya Saito. git-svn-id: http://svn.redmine.org/redmine/trunk@15077 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14686:7467c145c03c
r14695:2a6637ed2ef0
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
Replace uses of image_tag() with CSS (#21256)....
r14686 <%= link_to('',
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 -%>
Toshi MARUYAMA
replace tabs to spaces at app/views/attachments/_links.html.erb...
r9190 <% if attachment.is_text? %>
Jean-Philippe Lang
Replace uses of image_tag() with CSS (#21256)....
r14686 <%= link_to '',
{ :controller => 'attachments', :action => 'show',
:id => attachment, :filename => attachment.filename },
:class => 'icon icon-magnifier',
: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
Replace uses of image_tag() with CSS (#21256)....
r14686 <%= link_to '', attachment_path(attachment),
: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>