summaryrefslogtreecommitdiffstats
path: root/app/helpers/my_helper.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-05-27 21:19:51 +0000
committerGo MAEDA <maeda@farend.jp>2019-05-27 21:19:51 +0000
commit5b29b2b5d1c19181c9887beba4dee600f4a3aadf (patch)
treeb564401881860ed9ca65b12d4e37755721f350e0 /app/helpers/my_helper.rb
parent069577c1331ccda51966aa9873e12ebcf758a4b7 (diff)
downloadredmine-5b29b2b5d1c19181c9887beba4dee600f4a3aadf.tar.gz
redmine-5b29b2b5d1c19181c9887beba4dee600f4a3aadf.zip
Use the regular "icon icon-*" classes for sort-handle (#31433).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18203 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/my_helper.rb')
-rw-r--r--app/helpers/my_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/my_helper.rb b/app/helpers/my_helper.rb
index 91b45e677..be6257674 100644
--- a/app/helpers/my_helper.rb
+++ b/app/helpers/my_helper.rb
@@ -34,10 +34,10 @@ module MyHelper
def render_block(block, user)
content = render_block_content(block, user)
if content.present?
- handle = content_tag('span', '', :class => 'sort-handle', :title => l(:button_move))
+ handle = content_tag('span', '', :class => 'icon-only icon-sort-handle sort-handle', :title => l(:button_move))
close = link_to(l(:button_delete),
{:action => "remove_block", :block => block},
- :remote => true, :method => 'post',
+ :remote => true, :method => 'post',
:class => "icon-only icon-close", :title => l(:button_delete))
content = content_tag('div', handle + close, :class => 'contextual') + content