debian-mirror-gitlab/app/views/shared/snippets/_blob.html.haml
2016-02-05 20:25:01 +05:30

9 lines
273 B
Text

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