From 7c4acf0068b742a4838c1f515ff74ba3c99ddd70 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Mon, 30 May 2016 23:10:30 -0400 Subject: Add tooltips for common Event feed entries This adds tooltips to the event target for events like "opened merge request !XYZ" --- app/views/events/event/_common.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1