summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-06-01 08:34:29 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-06-01 08:34:29 +0000
commit8959de25d7fb8893e98abf612da43fd1a52746f6 (patch)
treefe66f9c88965f271bccfd2281706bf592b851679
parent473ea1e974cf07751601904b882de9ee2b3d0618 (diff)
parent7c4acf0068b742a4838c1f515ff74ba3c99ddd70 (diff)
downloadgitlab-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.haml2
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)