Add tooltip to user's calendar activities

This commit is contained in:
alex argunov 2017-03-22 00:06:38 +03:00
parent cd3e410110
commit e1f1f0c3c8
2 changed files with 6 additions and 2 deletions

View file

@ -18,9 +18,9 @@
= event_action_name(event) = event_action_name(event)
%strong %strong
- if event.note? - 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 - 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 at
%strong %strong

View file

@ -0,0 +1,4 @@
---
title: Add tooltip to user's calendar activities
merge_request: 10123
author: Alex Argunov