summaryrefslogtreecommitdiffstats
path: root/app/views/settings/_projects.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-08-31 12:59:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-08-31 12:59:57 +0000
commitdbad26c87db8247c0d635c993981d4277e165978 (patch)
tree331b8029e1f6c02c5812033b7080281a6a0fbc60 /app/views/settings/_projects.rhtml
parent25b4139028696d4f4fb057f598a771aca52b7afe (diff)
downloadredmine-dbad26c87db8247c0d635c993981d4277e165978.tar.gz
redmine-dbad26c87db8247c0d635c993981d4277e165978.zip
Adds an option to generate sequential project identifiers.
Disabled by default, it can be enabled on the 'Projects' tab in application settings. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1777 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings/_projects.rhtml')
-rw-r--r--app/views/settings/_projects.rhtml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/settings/_projects.rhtml b/app/views/settings/_projects.rhtml
new file mode 100644
index 000000000..1cd4f6e9b
--- /dev/null
+++ b/app/views/settings/_projects.rhtml
@@ -0,0 +1,12 @@
+<% form_tag({:action => 'edit', :tab => 'projects'}) do %>
+
+<div class="box tabular settings">
+<p><label><%= l(:setting_default_projects_public) %></label>
+<%= check_box_tag 'settings[default_projects_public]', 1, Setting.default_projects_public? %><%= hidden_field_tag 'settings[default_projects_public]', 0 %></p>
+
+<p><label><%= l(:setting_sequential_project_identifiers) %></label>
+<%= check_box_tag 'settings[sequential_project_identifiers]', 1, Setting.sequential_project_identifiers? %><%= hidden_field_tag 'settings[sequential_project_identifiers]', 0 %></p>
+</div>
+
+<%= submit_tag l(:button_save) %>
+<% end %>