Show images preview in notes. Show line additions/deletions for commit
This commit is contained in:
parent
ef5b36eaaf
commit
14d0ef8f37
4 changed files with 15 additions and 43 deletions
|
@ -34,6 +34,8 @@
|
|||
= preserve do
|
||||
= markdown(note.note)
|
||||
- if note.attachment.url
|
||||
- if note.attachment.image?
|
||||
= image_tag note.attachment.url, class: 'thumbnail span4'
|
||||
.right
|
||||
%div.file
|
||||
= link_to note.attachment_identifier, note.attachment.url, target: "_blank"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue