Revision 1083:0d837624e795 app
| app/views/repositories/entry.html.erb | ||
|---|---|---|
| 9 | 9 |
<p><%= render :partial => 'link_to_functions' %></p> |
| 10 | 10 |
|
| 11 | 11 |
<% if @display_raw %> |
| 12 |
<em><%= l(:text_binary_data) %></em> |
|
| 12 |
<% if @content.size && @content.size > Setting.file_max_size_displayed.to_i.kilobyte %> |
|
| 13 |
<em><%= l(:text_data_too_large) %></em> |
|
| 14 |
<% else %> |
|
| 15 |
<em><%= l(:text_binary_data) %></em> |
|
| 16 |
<% end %> |
|
| 13 | 17 |
<% else %> |
| 14 | 18 |
<%= render :partial => 'common/file', :locals => {:filename => @path, :content => @content} %>
|
| 15 | 19 |
<% end %> |
Also available in: Unified diff