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}
|
2014-09-02 18:07:02 +05:30
|
|
|
- if event.target
|
2016-06-16 23:09:34 +05:30
|
|
|
= 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
|
|
|
|
|
|
|
= event_preposition(event)
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
- if event.project
|
|
|
|
= link_to_project event.project
|
|
|
|
- else
|
|
|
|
= event.project_name
|
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
|