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
|