debian-mirror-gitlab/app/views/events/event/_common.html.haml

21 lines
594 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
= icon_for_profile_event(event)
2014-09-02 18:07:02 +05:30
.event-title
%span.author_name= link_to_author event
2017-08-17 22:00:37 +05:30
%span{ class: event.action_name }
2014-09-02 18:07:02 +05:30
- 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)
2015-09-25 12:07:36 +05:30
2016-08-24 12:49:21 +05:30
= render "events/event_scope", event: event
2015-09-25 12:07:36 +05:30
2014-09-02 18:07:02 +05:30
- if event.target.respond_to?(:title)
.event-body
.event-note
= event.target.title