Revision 1083:0d837624e795
| 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 %> |
| config/locales/en.yml | ||
|---|---|---|
| 1033 | 1033 |
text_has_welcome_page_info: <b>Welcome page</b><p>You can replace the standard {{overview_link}} page for this project with your own welcome page.<br>This page will be editable using the project Wiki.
|
| 1034 | 1034 |
text_has_welcome_page_wiki_disabled: <b>Note:</b> You must enable the Wiki module in the {{modules_link}} tab before you can create or edit this page.
|
| 1035 | 1035 |
text_binary_data: Binary data |
| 1036 |
text_data_too_large: Binary data, or file too large to display |
|
| 1036 | 1037 |
|
| 1037 | 1038 |
default_role_manager: Manager |
| 1038 | 1039 |
default_role_developer: Developer |
Also available in: Unified diff