User display format is now configurable in administration settings.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1103 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
3d5d1a38e3
commit
79f92a675a
30 files changed
+65
-6
No files matched your search
@@ -1,8 +1,8 @@
|
||||
<%= error_messages_for 'member' %>
|
||||
<% roles = Role.find_all_givable %>
|
||||
<% users = User.find_active(:all) - @project.users %>
|
||||
<% users = User.find_active(:all).sort - @project.users %>
|
||||
<% # members sorted by role position
|
||||
members = @project.members.find(:all, :include => [:role, :user]).sort{|x,y| x.role.position <=> y.role.position} %>
|
||||
members = @project.members.find(:all, :include => [:role, :user]).sort %>
|
||||
|
||||
<% if members.any? %>
|
||||
<table class="list">
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user