summaryrefslogtreecommitdiffstats
path: root/lib/redmine/wiki_formatting
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-09-08 17:25:02 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-09-08 17:25:02 +0000
commit166540d743be89d5544870b69bab7b6a46ca3a9c (patch)
tree2a29aa60eb62d99cf3c90e1030c841c05cab564d /lib/redmine/wiki_formatting
parenta6462c0bcd69602c4e63abc27339f2ebf64fe120 (diff)
downloadredmine-166540d743be89d5544870b69bab7b6a46ca3a9c.tar.gz
redmine-166540d743be89d5544870b69bab7b6a46ca3a9c.zip
Replaces icon-expanded and icon-collapsed with SVG icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23041 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 f2b8c297f..1baac3452 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(show_label, js, :id => "#{html_id}-show", :class => 'icon icon-collapsed collapsible')
+ 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(
- hide_label, js,
+ icon_with_label('angle-down', hide_label), js,
:id => "#{html_id}-hide",
:class => 'icon icon-expanded collapsible',
:style => 'display:none;'