diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-04 22:13:32 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-04 22:13:32 +0200 |
| commit | 14d0ef8f37b68c0911edfb197581bb7e818b1e50 (patch) | |
| tree | 33e3614f694463d3069bce958bd095464558b2e5 /app/views/notes | |
| parent | ef5b36eaaf92db19ae90cc599c3f64b865bdc4d5 (diff) | |
| download | gitlab-ce-14d0ef8f37b68c0911edfb197581bb7e818b1e50.tar.gz | |
Show images preview in notes. Show line additions/deletions for commit
Diffstat (limited to 'app/views/notes')
| -rw-r--r-- | app/views/notes/_note.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/notes/_note.html.haml b/app/views/notes/_note.html.haml index 70baa212d10..8591e7bd86b 100644 --- a/app/views/notes/_note.html.haml +++ b/app/views/notes/_note.html.haml @@ -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" |
