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

6 lines
250 B
Plaintext

- 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)