##// END OF EJS Templates
Add inline image preview/display for attachments and repository entries (#22058)....
Add inline image preview/display for attachments and repository entries (#22058). Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15324 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14942:2fbce6515d6f
r14942:2fbce6515d6f
Show More
image.html.erb
3 lines | 214 B | text/plain | TextLexer
<%= render :layout => 'layouts/file' do %>
<%= render :partial => 'common/image', :locals => {:path => download_named_attachment_url(@attachment, @attachment.filename), :alt => @attachment.filename} %>
<% end %>