diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-05-08 21:05:45 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-05-16 22:52:02 +0300 |
commit | 6286b28bbc9b62af729c45c45f953f5426f5bf52 (patch) | |
tree | b2d7ad6bc4439708c400b8866b064aa2450a8c32 /app/views | |
parent | a511a122651643ea5169d50fe09b9a89b6320aa2 (diff) |
Add an Event's target's title to its reference link
Given an activity feed entry like:
> Douwe Maan commented on [issue #123] at [gitlab-org/gitlab-ce]
...the `issue #123` link will now have a `title` attribute.
Diffstat (limited to 'app/views')
-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 c994e3b997d..f9f623cc031 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] + %strong= link_to event.target.reference_link_text, [event.project.namespace.becomes(Namespace), event.project, event.target], title: event.target_title = event_preposition(event) |