debian-mirror-gitlab/app/views/shared/snippets/_blob.html.haml

10 lines
273 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
- unless @snippet.content.empty?
2015-09-11 14:41:01 +05:30
- if markup?(@snippet.file_name)
2014-09-02 18:07:02 +05:30
.file-content.wiki
= render_markup(@snippet.file_name, @snippet.data)
- else
2016-02-05 20:25:01 +05:30
= render 'shared/file_highlight', blob: @snippet
2014-09-02 18:07:02 +05:30
- else
.file-content.code
.nothing-here-block Empty file