summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2016-07-09 02:16:43 +0200
committerwinniehell <git@winniehell.de>2016-07-21 01:58:21 +0200
commit51216af5c5e07e26d7b00d01250e560653a07a55 (patch)
tree985237cd777fad5afed49a5c552e3b3e34a8fcde /app/views
parent37f9a3117f94f583b789b23e5b95a685bd522e40 (diff)
downloadgitlab-ce-51216af5c5e07e26d7b00d01250e560653a07a55.tar.gz
Add image border in Markdown preview (!5162)
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/notes/_note.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/notes/_note.html.haml b/app/views/projects/notes/_note.html.haml
index af0046886fb..71da8ac9d7c 100644
--- a/app/views/projects/notes/_note.html.haml
+++ b/app/views/projects/notes/_note.html.haml
@@ -30,7 +30,7 @@
= link_to namespace_project_note_path(note.project.namespace, note.project, note), title: 'Remove comment', method: :delete, data: { confirm: 'Are you sure you want to remove this comment?' }, remote: true, class: 'note-action-button hidden-xs js-note-delete danger' do
= icon('trash-o')
.note-body{class: note_editable ? 'js-task-list-container' : ''}
- .note-text
+ .note-text.md
= preserve do
= note.note_html
= edited_time_ago_with_tooltip(note, placement: 'bottom', html_class: 'note_edited_ago', include_author: true)