@@ -11,7 +11,7 | |||||
11 | <% if Redmine::MimeType.is_type?('image', @path) %> |
|
11 | <% if Redmine::MimeType.is_type?('image', @path) %> | |
12 | <%= render :partial => 'common/image', :locals => {:path => url_for(params.merge(:action => 'raw')), :alt => @path} %> |
|
12 | <%= render :partial => 'common/image', :locals => {:path => url_for(params.merge(:action => 'raw')), :alt => @path} %> | |
13 | <% else %> |
|
13 | <% else %> | |
14 | <%= render :partial => 'common/file', :locals => {:filename => @path, :content => @content} %> |
|
14 | <%= render :partial => 'common/file', :locals => {:filename => @path, :content => @content} %> | |
15 | <% end %> |
|
15 | <% end %> | |
16 |
|
16 | |||
17 | <% content_for :header_tags do %> |
|
17 | <% content_for :header_tags do %> |
General Comments 0
You need to be logged in to leave comments.
Login now