gitlab-org--gitlab-foss/app/views/projects/diffs/_image_diff_frame.html.haml

6 lines
250 B
Text
Raw Normal View History

2017-10-07 00:25:17 -04:00
- 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)