gitlab-org--gitlab-foss/app/views/shared/snippets/_blob.html.haml
2015-05-18 22:52:13 +02:00

10 lines
298 B
Text

- unless @snippet.content.empty?
- if markup?(@snippet.file_name)
.file-content.wiki
= render_markup(@snippet.file_name, @snippet.data)
- else
.file-content.code
= render 'shared/file_highlight', blob: @snippet
- else
.file-content.code
.nothing-here-block Empty file