gitlab-org--gitlab-foss/app/views/events/event/_common.html.haml

21 lines
594 B
Text
Raw Normal View History

2017-04-11 14:24:04 -04:00
= icon_for_profile_event(event)
.event-title
%span.author_name= link_to_author event
%span{ class: event.action_name }
- if event.target
= event.action_name
%strong
= link_to [event.project.namespace.becomes(Namespace), event.project, event.target], class: 'has-tooltip', title: event.target_title do
= event.target_type.titleize.downcase
= event.target.reference_link_text
- else
= event_action_name(event)
= render "events/event_scope", event: event
2013-08-16 08:40:55 -04:00
- if event.target.respond_to?(:title)
.event-body
.event-note
= event.target.title