summaryrefslogtreecommitdiffstats
path: root/app/views/settings
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-06 08:32:56 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-06 08:32:56 +0000
commit533994e5ea00d8273298becd612f8615fba76c0c (patch)
treee8f9fe41e5184e92d096038cbb117b34d192d53e /app/views/settings
parente951d8458413f02ba613163df862d1a352ed3692 (diff)
downloadredmine-533994e5ea00d8273298becd612f8615fba76c0c.tar.gz
redmine-533994e5ea00d8273298becd612f8615fba76c0c.zip
Adds an application setting to choose whether or not subprojects issues should be displayed by default on the issue list, calendar and gantt (r1178). Default is true.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1198 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/_issues.rhtml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/settings/_issues.rhtml b/app/views/settings/_issues.rhtml
index 36c604fd9..bbd7356fd 100644
--- a/app/views/settings/_issues.rhtml
+++ b/app/views/settings/_issues.rhtml
@@ -4,6 +4,9 @@
<p><label><%= l(:setting_cross_project_issue_relations) %></label>
<%= check_box_tag 'settings[cross_project_issue_relations]', 1, Setting.cross_project_issue_relations? %><%= hidden_field_tag 'settings[cross_project_issue_relations]', 0 %></p>
+<p><label><%= l(:setting_display_subprojects_issues) %></label>
+<%= check_box_tag 'settings[display_subprojects_issues]', 1, Setting.display_subprojects_issues? %><%= hidden_field_tag 'settings[display_subprojects_issues]', 0 %></p>
+
<p><label><%= l(:setting_issues_export_limit) %></label>
<%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %></p>
</div>