summaryrefslogtreecommitdiffstats
path: root/app/views/projects/settings
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-07-06 06:01:50 +0000
committerGo MAEDA <maeda@farend.jp>2021-07-06 06:01:50 +0000
commit7f965286ed6b1d7e906e8662daba0d49b1cf7666 (patch)
treeaea4a14340b1e4ec29743bddf2cdef5f9b643206 /app/views/projects/settings
parent1b0bf2880374307e9669cfd4ed32cfe6677a3503 (diff)
downloadredmine-7f965286ed6b1d7e906e8662daba0d49b1cf7666.tar.gz
redmine-7f965286ed6b1d7e906e8662daba0d49b1cf7666.zip
Default issue query (#7360).
Patch by Katsuya HIDAKA (the author of https://github.com/hidakatsuya/redmine_default_custom_query), Takenori TAKAKI, Olivier Chabert, and Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21061 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/settings')
-rw-r--r--app/views/projects/settings/_issues.html.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/settings/_issues.html.erb b/app/views/projects/settings/_issues.html.erb
index 27e792d22..a0f0c14d5 100644
--- a/app/views/projects/settings/_issues.html.erb
+++ b/app/views/projects/settings/_issues.html.erb
@@ -41,6 +41,10 @@
<% if @project.safe_attribute?('default_assigned_to_id') %>
<p><%= f.select :default_assigned_to_id, project_default_assigned_to_options(@project), include_blank: l(:label_none) %></p>
<% end %>
+
+ <% if @project.safe_attribute?('default_issue_query_id') %>
+ <p><%= f.select :default_issue_query_id, project_default_issue_query_options(@project), include_blank: l(:label_none) %><em class="info"><%=l 'text_allowed_queries_to_select' %></em></p>
+ <% end %>
</div>
<p><%= submit_tag l(:button_save) %></p>