diff options
author | alex argunov <sajkoooo@gmail.com> | 2017-03-22 00:06:38 +0300 |
---|---|---|
committer | alex argunov <sajkoooo@gmail.com> | 2017-03-22 22:54:14 +0300 |
commit | e1f1f0c3c88a62151d95a0bd17235d35e95f0554 (patch) | |
tree | f3f66054758823c6aa14e419d7b1c729b31dd71b /app/views/users/calendar_activities.html.haml | |
parent | cd3e410110a5c6f33c5e873f8fb54883a8e11754 (diff) |
Add tooltip to user's calendar activities
Diffstat (limited to 'app/views/users/calendar_activities.html.haml')
-rw-r--r-- | app/views/users/calendar_activities.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/users/calendar_activities.html.haml b/app/views/users/calendar_activities.html.haml index 4afd31f788b..d1e88274878 100644 --- a/app/views/users/calendar_activities.html.haml +++ b/app/views/users/calendar_activities.html.haml @@ -18,9 +18,9 @@ = event_action_name(event) %strong - if event.note? - = link_to event.note_target.to_reference, event_note_target_path(event) + = link_to event.note_target.to_reference, event_note_target_path(event), class: 'has-tooltip', title: event.target_title - elsif event.target - = link_to event.target.to_reference, [event.project.namespace.becomes(Namespace), event.project, event.target] + = link_to event.target.to_reference, [event.project.namespace.becomes(Namespace), event.project, event.target], class: 'has-tooltip', title: event.target_title at %strong |