Feature #22058 » 0004-Whitespace-only.patch
| app/views/repositories/entry.html.erb | ||
|---|---|---|
|
<% if Redmine::MimeType.is_type?('image', @path) %>
|
||
|
<%= render :partial => 'common/image', :locals => {:path => url_for(params.merge(:action => 'raw')), :alt => @path} %>
|
||
|
<% else %>
|
||
|
<%= render :partial => 'common/file', :locals => {:filename => @path, :content => @content} %>
|
||
|
<%= render :partial => 'common/file', :locals => {:filename => @path, :content => @content} %>
|
||
|
<% end %>
|
||
|
<% content_for :header_tags do %>
|
||