summaryrefslogtreecommitdiffstats
path: root/app/helpers
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/helpers
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/helpers')
-rw-r--r--app/helpers/queries_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb
index 160473ae8..453149436 100644
--- a/app/helpers/queries_helper.rb
+++ b/app/helpers/queries_helper.rb
@@ -506,7 +506,8 @@ module QueriesHelper
content_tag('li',
link_to(query.name,
url_params.merge(:query_id => query),
- :class => css) +
+ :class => css,
+ :title => query.description) +
clear_link.html_safe)
end.join("\n").html_safe,
:class => 'queries'