diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-10-06 16:48:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-10-06 16:48:21 +0000 |
commit | 31a976c925ad5cb71351a58fad92329dacac2ede (patch) | |
tree | d69a1768b3476b471cf41b45839570547410405b /app/views/settings | |
parent | cf86eae6bbdc5c00894c5042c42e81b4ba0c7790 (diff) | |
download | redmine-31a976c925ad5cb71351a58fad92329dacac2ede.tar.gz redmine-31a976c925ad5cb71351a58fad92329dacac2ede.zip |
Moves attachments settings to a new tab.
git-svn-id: http://svn.redmine.org/redmine/trunk@14646 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings')
-rw-r--r-- | app/views/settings/_attachments.html.erb | 15 | ||||
-rw-r--r-- | app/views/settings/_general.html.erb | 8 |
2 files changed, 15 insertions, 8 deletions
diff --git a/app/views/settings/_attachments.html.erb b/app/views/settings/_attachments.html.erb new file mode 100644 index 000000000..f8a85c748 --- /dev/null +++ b/app/views/settings/_attachments.html.erb @@ -0,0 +1,15 @@ +<%= form_tag({:action => 'edit', :tab => 'attachments'}) do %> + +<div class="box tabular settings"> +<p><%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p> + +<p><%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p> + +<p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p> + +<p><%= setting_text_field :repositories_encodings, :size => 60 %> +<em class="info"><%= l(:text_comma_separated) %></em></p> +</div> + +<%= submit_tag l(:button_save) %> +<% end %> diff --git a/app/views/settings/_general.html.erb b/app/views/settings/_general.html.erb index 9bfd23b53..23abdb3f5 100644 --- a/app/views/settings/_general.html.erb +++ b/app/views/settings/_general.html.erb @@ -6,7 +6,6 @@ <p><%= setting_text_area :welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p> <%= wikitoolbar_for 'settings_welcome_text' %> -<p><%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p> <p><%= setting_text_field :per_page_options, :size => 20 %> <em class="info"><%= l(:text_comma_separated) %></em></p> @@ -28,13 +27,6 @@ <p><%= setting_text_field :feeds_limit, :size => 6 %></p> -<p><%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p> - -<p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p> - -<p><%= setting_text_field :repositories_encodings, :size => 60 %> -<em class="info"><%= l(:text_comma_separated) %></em></p> - <%= call_hook(:view_settings_general_form) %> </div> |