summaryrefslogtreecommitdiffstats
path: root/app/views/settings/edit.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-29 11:36:30 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-29 11:36:30 +0000
commit9a1b46fe42873c5fa4c8bb9cf6755eed9e8315db (patch)
tree55c78bfcc226b12a1f8cbb1469caa7528be78a6f /app/views/settings/edit.rhtml
parent7eec539222731f5b3fca40d6dbaae8f00f01feba (diff)
downloadredmine-9a1b46fe42873c5fa4c8bb9cf6755eed9e8315db.tar.gz
redmine-9a1b46fe42873c5fa4c8bb9cf6755eed9e8315db.zip
New setting added to specify how many objects should be displayed on most paginated lists.
Default is: 25, 50, 100 (users can choose one of these values). If one value only is entered in this setting (eg. 25), the 'per page' links are not displayed (prior behaviour). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1026 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings/edit.rhtml')
-rw-r--r--app/views/settings/edit.rhtml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/settings/edit.rhtml b/app/views/settings/edit.rhtml
index 758045f05..b1db0e7ad 100644
--- a/app/views/settings/edit.rhtml
+++ b/app/views/settings/edit.rhtml
@@ -27,6 +27,9 @@
<p><label><%= l(:setting_attachment_max_size) %></label>
<%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p>
+<p><label><%= l(:setting_per_page_options) %></label>
+<%= text_field_tag 'settings[per_page_options]', Setting.per_page_options_array.join(', '), :size => 20 %><br /><em><%= l(:text_comma_separated) %></em></p>
+
<p><label><%= l(:setting_issues_export_limit) %></label>
<%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %></p>