summaryrefslogtreecommitdiffstats
path: root/app/helpers/queries_helper.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-10-19 10:06:26 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-10-19 10:06:26 +0000
commitd1008280d8bead4757646d53f18d0b76fa20b429 (patch)
tree6424d06cc95da85711dc27460e39a976760527fd /app/helpers/queries_helper.rb
parentffb78c12c35192aff8e13389577ef9564ab278ee (diff)
downloadredmine-d1008280d8bead4757646d53f18d0b76fa20b429.tar.gz
redmine-d1008280d8bead4757646d53f18d0b76fa20b429.zip
Renames and improves methods provided by @IconsHelper@ (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23145 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/queries_helper.rb')
-rw-r--r--app/helpers/queries_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb
index 2712b6151..d2991fd25 100644
--- a/app/helpers/queries_helper.rb
+++ b/app/helpers/queries_helper.rb
@@ -225,7 +225,7 @@ module QueriesHelper
end
content =
link_to(
- icon_with_label(icon, column.caption),
+ sprite_icon(icon, column.caption),
{:params => request.query_parameters.deep_merge(sort_param)},
link_options
)
@@ -519,7 +519,7 @@ module QueriesHelper
def link_to_clear_query(params = {:set_filter => 1, :sort => '', :project_id => @project})
link_to(
- icon_with_label('clear-query', l(:button_clear)),
+ sprite_icon('clear-query', l(:button_clear)),
params,
:class => 'icon-only icon-clear-query',
:title => l(:button_clear)