_common.html.haml 559 Bytes
Newer Older
1 2
.event-title
  %span.author_name= link_to_author event
3
  %span{class: event.action_name}
4
  - if event.target
5 6 7 8 9 10 11
    = 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)
12

13
  = render "events/event_scope", event: event
14

15 16 17
- if event.target.respond_to?(:title)
  .event-body
    .event-note
18
      = event.target.title