diff options
Diffstat (limited to 'app/views/projects/diffs/_image_diff_frame.html.haml')
-rw-r--r-- | app/views/projects/diffs/_image_diff_frame.html.haml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/projects/diffs/_image_diff_frame.html.haml b/app/views/projects/diffs/_image_diff_frame.html.haml new file mode 100644 index 00000000000..dae73e10460 --- /dev/null +++ b/app/views/projects/diffs/_image_diff_frame.html.haml @@ -0,0 +1,5 @@ +- class_name = local_assigns.fetch(:class_name, '') +- note_type = local_assigns.fetch(:note_type, '') + +.frame{ class: class_name, data: { position: position, note_type: note_type } } + = image_tag(image_path, alt: alt, draggable: false, lazy: false) |