2014-09-02 18:07:02 +05:30
|
|
|
.event-title
|
|
|
|
%span.author_name= link_to_author event
|
2015-04-26 12:48:37 +05:30
|
|
|
%span.event_label{class: event.action_name}
|
|
|
|
= event_action_name(event)
|
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
- if event.target
|
2015-04-26 12:48:37 +05:30
|
|
|
%strong= link_to "##{event.target_iid}", [event.project.namespace.becomes(Namespace), event.project, event.target]
|
|
|
|
at
|
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
- if event.project
|
|
|
|
= link_to_project event.project
|
|
|
|
- else
|
|
|
|
= event.project_name
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
- if event.target.respond_to?(:title)
|
|
|
|
.event-body
|
|
|
|
.event-note
|
|
|
|
= event.target.title
|