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/_attachments.html.erb | |
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/_attachments.html.erb')
-rw-r--r-- | app/views/settings/_attachments.html.erb | 15 |
1 files changed, 15 insertions, 0 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 %> |