debian-mirror-gitlab/app/views/projects/blob/_text.html.haml

10 lines
239 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- if markup?(blob.name)
2014-09-02 18:07:02 +05:30
.file-content.wiki
= render_markup(blob.name, blob.data)
- else
.file-content.code
- unless blob.empty?
2015-04-26 12:48:37 +05:30
= render 'shared/file_highlight', blob: blob
2014-09-02 18:07:02 +05:30
- else
.nothing-here-block Empty file