From 4991f2b5493c77acf6f86c5bab482d96ee1e9464 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Thu, 23 Oct 2014 17:39:26 +0800 Subject: [PATCH] =?UTF-8?q?#1180=E5=8F=96=E6=B6=88=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=AD=E6=96=B0=E5=BB=BA=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E8=B5=8B=E4=BA=88=E8=A7=92=E8=89=B2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/settings/_projects.html.erb | 32 ++++++++++++++++----------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/app/views/settings/_projects.html.erb b/app/views/settings/_projects.html.erb index 28fd9b578..f9ac36d4e 100644 --- a/app/views/settings/_projects.html.erb +++ b/app/views/settings/_projects.html.erb @@ -1,20 +1,26 @@ <%= form_tag({:action => 'edit', :tab => 'projects'}) do %> +
+ <%= setting_check_box :default_projects_public %> +
-<%= setting_check_box :default_projects_public %>
++ <%= setting_multiselect(:default_projects_modules, + Redmine::AccessControl.available_project_modules.collect {|m| [l_or_humanize(m, :prefix => "project_module_"), m.to_s]}) %> +
-<%= setting_multiselect(:default_projects_modules, - Redmine::AccessControl.available_project_modules.collect {|m| [l_or_humanize(m, :prefix => "project_module_"), m.to_s]}) %>
++ <%= setting_multiselect(:default_projects_tracker_ids, Tracker.sorted.all.collect {|t| [t.name, t.id.to_s]}) %> +
-<%= setting_multiselect(:default_projects_tracker_ids, - Tracker.sorted.all.collect {|t| [t.name, t.id.to_s]}) %>
++ <%= setting_check_box :sequential_project_identifiers %> +
-<%= setting_check_box :sequential_project_identifiers %>
+ +<%= setting_select :new_project_user_role_id, - Role.find_all_givable.collect {|r| [r.name, r.id.to_s]}, - :blank => "--- #{l(:actionview_instancetag_blank_option)} ---" %>
-