diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-06-04 20:04:45 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-06-04 20:04:45 +0000 |
commit | 38a8adb2a20c9c6ae57b0633037290c64a34b624 (patch) | |
tree | 3e3a7ca75019c0c8846dc2ac820e8b819ce30aad /app/views/calendars/show.html.erb | |
parent | c19176a5c48e33e6bcfe280736092154deb58181 (diff) | |
download | redmine-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/calendars/show.html.erb')
-rw-r--r-- | app/views/calendars/show.html.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/calendars/show.html.erb b/app/views/calendars/show.html.erb index d3d00a427..dfef117de 100644 --- a/app/views/calendars/show.html.erb +++ b/app/views/calendars/show.html.erb @@ -1,4 +1,5 @@ <h2><%= @query.new_record? ? l(:label_calendar) : @query.name %></h2> +<%= @query.persisted? && @query.description.present? ? content_tag('p', @query.description, class: 'subtitle') : '' %> <%= form_tag({:controller => 'calendars', :action => 'show', :project_id => @project}, :method => :get, :id => 'query_form') do %> |