diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-03-14 18:25:23 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-03-14 18:25:23 +0000 |
commit | 6bc537f6f9d8318615fcc0098745645bb6ad79da (patch) | |
tree | db3abc9be5764715dd0ef3049bfda5f23fe0682c /app/helpers | |
parent | 6eaceed7b5557e12e191fe117baf4e8f81251c6a (diff) | |
download | redmine-6bc537f6f9d8318615fcc0098745645bb6ad79da.tar.gz redmine-6bc537f6f9d8318615fcc0098745645bb6ad79da.zip |
Adds titles on icon links.
git-svn-id: http://svn.redmine.org/redmine/trunk@16403 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/my_helper.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/helpers/my_helper.rb b/app/helpers/my_helper.rb index 2a20a7bf2..5181def2d 100644 --- a/app/helpers/my_helper.rb +++ b/app/helpers/my_helper.rb @@ -34,8 +34,11 @@ module MyHelper def render_block(block, user) content = render_block_content(block, user) if content.present? - handle = content_tag('span', '', :class => 'sort-handle') - close = link_to(l(:button_delete), {:action => "remove_block", :block => block}, :remote => true, :method => 'post', :class => "icon-only icon-close") + handle = content_tag('span', '', :class => 'sort-handle', :title => l(:button_move)) + close = link_to(l(:button_delete), + {:action => "remove_block", :block => block}, + :remote => true, :method => 'post', + :class => "icon-only icon-close", :title => l(:button_delete)) content = content_tag('div', handle + close, :class => 'contextual') + content content_tag('div', content, :class => "mypage-box", :id => "block-#{block}") |