diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-06-02 20:20:18 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-06-02 20:20:18 +0000 |
commit | 94b0da42302959ea642c4dc3037db0d4f195eb55 (patch) | |
tree | 3c64ad8f49f4425e1a8ed95f8b7fb75fe36f91b5 /app | |
parent | ab75b21c83a80d144716e63aa8731092af3eb0cc (diff) | |
parent | 7edbce65b0cd8c420707904a6733c84fadf5d224 (diff) | |
download | gitlab-ce-94b0da42302959ea642c4dc3037db0d4f195eb55.tar.gz |
Merge branch 'rs-todo-has-tooltip' into 'master'
Add tooltips to todo target links
See merge request !4370
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/todos_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/helpers/todos_helper.rb b/app/helpers/todos_helper.rb index b9d7edb4185..b4923fbb138 100644 --- a/app/helpers/todos_helper.rb +++ b/app/helpers/todos_helper.rb @@ -17,7 +17,9 @@ module TodosHelper def todo_target_link(todo) target = todo.target_type.titleize.downcase - link_to "#{target} #{todo.target_reference}", todo_target_path(todo), { title: todo.target.title } + link_to "#{target} #{todo.target_reference}", todo_target_path(todo), + class: 'has-tooltip', + title: todo.target.title end def todo_target_path(todo) |