@@ -0,0 +1,15 | |||
|
1 | <%= form_tag({:action => 'edit', :tab => 'attachments'}) do %> | |
|
2 | ||
|
3 | <div class="box tabular settings"> | |
|
4 | <p><%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p> | |
|
5 | ||
|
6 | <p><%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p> | |
|
7 | ||
|
8 | <p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p> | |
|
9 | ||
|
10 | <p><%= setting_text_field :repositories_encodings, :size => 60 %> | |
|
11 | <em class="info"><%= l(:text_comma_separated) %></em></p> | |
|
12 | </div> | |
|
13 | ||
|
14 | <%= submit_tag l(:button_save) %> | |
|
15 | <% end %> |
@@ -25,6 +25,7 module SettingsHelper | |||
|
25 | 25 | {:name => 'api', :partial => 'settings/api', :label => :label_api}, |
|
26 | 26 | {:name => 'projects', :partial => 'settings/projects', :label => :label_project_plural}, |
|
27 | 27 | {:name => 'issues', :partial => 'settings/issues', :label => :label_issue_tracking}, |
|
28 | {:name => 'attachments', :partial => 'settings/attachments', :label => :label_attachment_plural}, | |
|
28 | 29 | {:name => 'notifications', :partial => 'settings/notifications', :label => :field_mail_notification}, |
|
29 | 30 | {:name => 'mail_handler', :partial => 'settings/mail_handler', :label => :label_incoming_emails}, |
|
30 | 31 | {:name => 'repositories', :partial => 'settings/repositories', :label => :label_repository_plural} |
@@ -6,7 +6,6 | |||
|
6 | 6 | <p><%= setting_text_area :welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p> |
|
7 | 7 | <%= wikitoolbar_for 'settings_welcome_text' %> |
|
8 | 8 | |
|
9 | <p><%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p> | |
|
10 | 9 | |
|
11 | 10 | <p><%= setting_text_field :per_page_options, :size => 20 %> |
|
12 | 11 | <em class="info"><%= l(:text_comma_separated) %></em></p> |
@@ -28,13 +27,6 | |||
|
28 | 27 | |
|
29 | 28 | <p><%= setting_text_field :feeds_limit, :size => 6 %></p> |
|
30 | 29 | |
|
31 | <p><%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p> | |
|
32 | ||
|
33 | <p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p> | |
|
34 | ||
|
35 | <p><%= setting_text_field :repositories_encodings, :size => 60 %> | |
|
36 | <em class="info"><%= l(:text_comma_separated) %></em></p> | |
|
37 | ||
|
38 | 30 | <%= call_hook(:view_settings_general_form) %> |
|
39 | 31 | </div> |
|
40 | 32 |
General Comments 0
You need to be logged in to leave comments.
Login now