diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-14 21:33:33 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-14 21:33:33 +0400 |
commit | 678e5355a3e43aa2a13d109fe5d75de231eef413 (patch) | |
tree | 8ef7a4574d6cd85d1c9e2090da529da44941cf3a /app/views/events/event/_note.html.haml | |
parent | 190e483fb4b5edb6d8dfa71b67dc52da402ddab9 (diff) |
Create events on comments and milestone
Diffstat (limited to 'app/views/events/event/_note.html.haml')
-rw-r--r-- | app/views/events/event/_note.html.haml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/events/event/_note.html.haml b/app/views/events/event/_note.html.haml new file mode 100644 index 00000000000..5dddef1f1ac --- /dev/null +++ b/app/views/events/event/_note.html.haml @@ -0,0 +1,16 @@ +.event-title + %span.author_name= link_to_author event + %span.event_label commented on #{event.target.noteable_type_name} + - if event.target and event.target.noteable_id + = link_to [event.project, event.target.noteable] do + %strong= truncate event.target.noteable_id + - else + %strong (deleted) + at + - if event.project + = link_to_project event.project + - else + = event.project_name + +.event-body + %p.hint= truncate event.target.note, length: 70 |