debian-mirror-gitlab/app/views/events/event/_common.html.haml
2014-09-02 14:37:02 +02:00

16 lines
458 B
Text

.event-title
%span.author_name= link_to_author event
%span.event_label{class: event.action_name}= event_action_name(event)
- if event.target
%strong= link_to "##{event.target_iid}", [event.project, event.target]
- else
%strong= gfm event.target_title
at
- if event.project
= link_to_project event.project
- else
= event.project_name
- if event.target.respond_to?(:title)
.event-body
.event-note
= event.target.title