2012-12-14 18:33:33 +01:00
|
|
|
.event-title
|
|
|
|
%span.author_name= link_to_author event
|
2012-12-16 18:52:39 +01:00
|
|
|
%span.event_label commented on #{event.note_target_type}
|
|
|
|
- if event.note_target
|
2012-12-14 20:39:55 +01:00
|
|
|
- if event.note_commit?
|
|
|
|
= link_to event.note_short_commit_id, project_commit_path(event.project, event.note_commit_id), class: "commit_short_id"
|
|
|
|
- else
|
|
|
|
= link_to [event.project, event.note_target] do
|
|
|
|
%strong= truncate event.note_target_id
|
|
|
|
|
2012-12-16 18:52:39 +01:00
|
|
|
- elsif event.wall_note?
|
|
|
|
-# nothing here
|
2012-12-14 18:33:33 +01:00
|
|
|
- else
|
|
|
|
%strong (deleted)
|
|
|
|
at
|
|
|
|
- if event.project
|
|
|
|
= link_to_project event.project
|
|
|
|
- else
|
|
|
|
= event.project_name
|
|
|
|
|
|
|
|
.event-body
|
2013-01-05 11:12:02 +01:00
|
|
|
%span.event-note
|
|
|
|
%i.icon-comment-alt
|
2012-12-14 20:39:55 +01:00
|
|
|
= truncate event.target.note, length: 70
|