BigW Consortium Gitlab

_common.html.haml 458 Bytes
Newer Older
1 2 3
.event-title
  %span.author_name= link_to_author event
  %span.event_label{class: event.action_name}= event_action_name(event)
4
  - if event.target
5
    %strong= link_to "##{event.target_iid}", [event.project, event.target]
6
  - else
7
    %strong= gfm event.target_title
8
  at
9 10 11 12
  - if event.project
    = link_to_project event.project
  - else
    = event.project_name
13 14 15
- if event.target.respond_to?(:title)
  .event-body
    .event-note
16
      = event.target.title