#1180取消项目配置中新建项目赋予角色功能

This commit is contained in:
sw 2014-10-23 17:39:26 +08:00
parent 6d6b2c6b38
commit 4991f2b549
1 changed files with 19 additions and 13 deletions

View File

@ -1,20 +1,26 @@
<%= form_tag({:action => 'edit', :tab => 'projects'}) do %>
<div class="box tabular settings">
<p>
<%= setting_check_box :default_projects_public %>
</p>
<div class="box tabular settings">
<p><%= setting_check_box :default_projects_public %></p>
<p>
<%= setting_multiselect(:default_projects_modules,
Redmine::AccessControl.available_project_modules.collect {|m| [l_or_humanize(m, :prefix => "project_module_"), m.to_s]}) %>
</p>
<p><%= setting_multiselect(:default_projects_modules,
Redmine::AccessControl.available_project_modules.collect {|m| [l_or_humanize(m, :prefix => "project_module_"), m.to_s]}) %></p>
<p>
<%= setting_multiselect(:default_projects_tracker_ids, Tracker.sorted.all.collect {|t| [t.name, t.id.to_s]}) %>
</p>
<p><%= setting_multiselect(:default_projects_tracker_ids,
Tracker.sorted.all.collect {|t| [t.name, t.id.to_s]}) %></p>
<p>
<%= setting_check_box :sequential_project_identifiers %>
</p>
<p><%= setting_check_box :sequential_project_identifiers %></p>
<p style="display: none;"><%= 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)} ---" %>
</p>
</div>
<p><%= 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)} ---" %></p>
</div>
<%= submit_tag l(:button_save) %>
<%= submit_tag l(:button_save) %>
<% end %>