summaryrefslogtreecommitdiffstats
path: root/app/views/settings/_general.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-25 10:31:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-25 10:31:06 +0000
commit79f92a675af528ecbe5abcc15b9c98805c9c7315 (patch)
treec5c2f04a5b16bfc2d98fe03495bc83f902188ee0 /app/views/settings/_general.rhtml
parent3d5d1a38e3d48e1fda7eee751563cbf8c3b0f00b (diff)
downloadredmine-79f92a675af528ecbe5abcc15b9c98805c9c7315.tar.gz
redmine-79f92a675af528ecbe5abcc15b9c98805c9c7315.zip
User display format is now configurable in administration settings.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1103 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings/_general.rhtml')
-rw-r--r--app/views/settings/_general.rhtml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/settings/_general.rhtml b/app/views/settings/_general.rhtml
index 514e62b59..548ebbfac 100644
--- a/app/views/settings/_general.rhtml
+++ b/app/views/settings/_general.rhtml
@@ -20,6 +20,9 @@
<p><label><%= l(:setting_time_format) %></label>
<%= select_tag 'settings[time_format]', options_for_select( [[l(:label_language_based), '']] + Setting::TIME_FORMATS.collect {|f| [Time.now.strftime(f), f]}, Setting.time_format) %></p>
+<p><label><%= l(:setting_user_format) %></label>
+<%= select_tag 'settings[user_format]', options_for_select( @options[:user_format], Setting.user_format.to_s ) %></p>
+
<p><label><%= l(:setting_attachment_max_size) %></label>
<%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p>