diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-06-01 08:34:29 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-06-01 08:34:29 +0000 |
commit | 8959de25d7fb8893e98abf612da43fd1a52746f6 (patch) | |
tree | fe66f9c88965f271bccfd2281706bf592b851679 | |
parent | 473ea1e974cf07751601904b882de9ee2b3d0618 (diff) | |
parent | 7c4acf0068b742a4838c1f515ff74ba3c99ddd70 (diff) | |
download | gitlab-ce-8959de25d7fb8893e98abf612da43fd1a52746f6.tar.gz |
Merge branch 'rs-event-common-has-tooltip' into 'master'
Add tooltips for common Event feed entries
This adds tooltips to the event target for events like "opened merge
request !XYZ"
After https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4090#note_11712839, several references in the event feed had titles but were still missing tooltips.
See merge request !4371
-rw-r--r-- | app/views/events/event/_common.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/events/event/_common.html.haml b/app/views/events/event/_common.html.haml index f9f623cc031..c7f29f2fc0e 100644 --- a/app/views/events/event/_common.html.haml +++ b/app/views/events/event/_common.html.haml @@ -4,7 +4,7 @@ = event_action_name(event) - if event.target - %strong= link_to event.target.reference_link_text, [event.project.namespace.becomes(Namespace), event.project, event.target], title: event.target_title + %strong= link_to event.target.reference_link_text, [event.project.namespace.becomes(Namespace), event.project, event.target], class: 'has-tooltip', title: event.target_title = event_preposition(event) |