summaryrefslogtreecommitdiffstats
path: root/lib/redmine/wiki_formatting
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 /lib/redmine/wiki_formatting
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 'lib/redmine/wiki_formatting')
-rw-r--r--lib/redmine/wiki_formatting/macros.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/wiki_formatting/macros.rb b/lib/redmine/wiki_formatting/macros.rb
index 1baac3452..4de145c4c 100644
--- a/lib/redmine/wiki_formatting/macros.rb
+++ b/lib/redmine/wiki_formatting/macros.rb
@@ -248,10 +248,10 @@ module Redmine
hide_label = args[1] || args[0] || l(:button_hide)
js = "$('##{html_id}-show, ##{html_id}-hide').toggle(); $('##{html_id}').fadeToggle(150);"
out = ''.html_safe
- out << link_to_function(icon_with_label('angle-right', show_label), js, :id => "#{html_id}-show", :class => 'icon icon-collapsed collapsible')
+ out << link_to_function(sprite_icon('angle-right', show_label), js, :id => "#{html_id}-show", :class => 'icon icon-collapsed collapsible')
out <<
link_to_function(
- icon_with_label('angle-down', hide_label), js,
+ sprite_icon('angle-down', hide_label), js,
:id => "#{html_id}-hide",
:class => 'icon icon-expanded collapsible',
:style => 'display:none;'