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/users | |
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/users')
-rw-r--r-- | app/views/users/index.html.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index d609bfd78..9071dba19 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -8,6 +8,7 @@ </div> <h2><%= @query.new_record? ? l(:label_user_plural) : @query.name %></h2> +<%= @query.persisted? && @query.description.present? ? content_tag('p', @query.description, class: 'subtitle') : '' %> <%= form_tag(users_path, method: :get, id: 'query_form') do %> <%= render partial: 'queries/query_form' %> |