BigW Consortium Gitlab

_note.html.haml 642 Bytes
Newer Older
1
.profile-icon
2 3
  = custom_icon("comment_o")

4
.event-title
5 6
  = event.action_name
  = event_note_title_html(event)
7

8
  = render "events/event_scope", event: event
9 10

.event-body
11 12
  .event-note
    .md
13
      = event_note(event.target.note, project: event.project)
14
    - note = event.target
15
    - if note.attachment.url
16
      - if note.attachment.image?
17 18
        = link_to note.attachment.url, target: '_blank' do
          = image_tag note.attachment.url, class: 'note-image-attach'
19
      - else
20
        = link_to note.attachment.url, target: '_blank',  class: 'note-file-attach' do
21
          %i.fa.fa-paperclip
22
          = note.attachment_identifier