gitlab-org--gitlab-foss/app/views/projects/blob/_text.html.haml
2016-02-02 14:17:08 +01:00

10 lines
270 B
Text

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