diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-12 19:58:19 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-12 19:58:19 +0000 |
commit | 6fcc512cb77a0851ab8c3c693fd178b564a600dd (patch) | |
tree | d6f8e3b4ece15c8329192352385d8614c9ef30ef /app/views/settings | |
parent | 3a75b6771fa1bb6ba79895312ee9d1325be6663d (diff) | |
download | redmine-6fcc512cb77a0851ab8c3c693fd178b564a600dd.tar.gz redmine-6fcc512cb77a0851ab8c3c693fd178b564a600dd.zip |
Adds a setting for whether new projects should be public by default (closes #842, #839).
Patch by Rocco Stanzione, slightly edited.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1235 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings')
-rw-r--r-- | app/views/settings/_general.rhtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/settings/_general.rhtml b/app/views/settings/_general.rhtml index bb56c43db..1d17a003e 100644 --- a/app/views/settings/_general.rhtml +++ b/app/views/settings/_general.rhtml @@ -46,6 +46,9 @@ <p><label><%= l(:setting_feeds_limit) %></label> <%= text_field_tag 'settings[feeds_limit]', Setting.feeds_limit, :size => 6 %></p> + +<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> </div> <%= submit_tag l(:button_save) %> |