debian-mirror-gitlab/app/views/events/_event.html.haml

14 lines
470 B
Text
Raw Normal View History

2016-06-02 11:05:42 +05:30
- if event.visible_to_user?(current_user)
.event-item{ class: event_row_class(event) }
2014-09-02 18:07:02 +05:30
.event-item-timestamp
2017-08-17 22:00:37 +05:30
#{time_ago_with_tooltip(event.created_at)}
2014-09-02 18:07:02 +05:30
2017-08-17 22:00:37 +05:30
- if event.created_project?
= render "events/event/created_project", event: event
- elsif event.push?
= render "events/event/push", event: event
- elsif event.commented?
= render "events/event/note", event: event
- else
= render "events/event/common", event: event