Fix procfile and attachment in event nore
This commit is contained in:
parent
d64090b8a9
commit
dd8d0a659d
2 changed files with 8 additions and 7 deletions
|
@ -25,9 +25,10 @@
|
|||
%span.event-note
|
||||
= markdown truncate(event.target.note, length: 70)
|
||||
- note = event.target
|
||||
= link_to note.attachment.url, target: "_blank", class: 'note-file-attach' do
|
||||
- if note.attachment.image?
|
||||
= image_tag note.attachment.url, class: 'note-image-attach'
|
||||
- else
|
||||
%i.icon-paper-clip
|
||||
= note.attachment_identifier
|
||||
- if note.attachment.url
|
||||
= link_to note.attachment.url, target: "_blank", class: 'note-file-attach' do
|
||||
- if note.attachment.image?
|
||||
= image_tag note.attachment.url, class: 'note-image-attach'
|
||||
- else
|
||||
%i.icon-paper-clip
|
||||
= note.attachment_identifier
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue