summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-06-04 20:04:45 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-06-04 20:04:45 +0000
commit38a8adb2a20c9c6ae57b0633037290c64a34b624 (patch)
tree3e3a7ca75019c0c8846dc2ac820e8b819ce30aad /app/views/projects
parentc19176a5c48e33e6bcfe280736092154deb58181 (diff)
downloadredmine-38a8adb2a20c9c6ae57b0633037290c64a34b624.tar.gz
redmine-38a8adb2a20c9c6ae57b0633037290c64a34b624.zip
Adds description field to custom queries (#9309).
Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/index.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb
index 3bd665640..d18cf6e47 100644
--- a/app/views/projects/index.html.erb
+++ b/app/views/projects/index.html.erb
@@ -5,6 +5,7 @@
</div>
<h2><%= @query.new_record? ? l(:label_project_plural) : @query.name %></h2>
+<%= @query.persisted? && @query.description.present? ? content_tag('p', @query.description, class: 'subtitle') : '' %>
<%= form_tag(projects_path(@project, nil), :method => :get, :id => 'query_form') do %>
<%= render :partial => 'queries/query_form' %>