2016-02-02 08:17:08 -05:00
|
|
|
- blob.load_all_data!(@repository)
|
2015-05-12 19:54:13 -04:00
|
|
|
- if markup?(blob.name)
|
2013-07-13 02:52:47 -04:00
|
|
|
.file-content.wiki
|
2014-01-08 09:32:03 -05:00
|
|
|
= render_markup(blob.name, blob.data)
|
2012-10-15 14:56:58 -04:00
|
|
|
- else
|
2016-01-25 05:42:47 -05:00
|
|
|
- unless blob.empty?
|
|
|
|
= render 'shared/file_highlight', blob: blob
|
|
|
|
- else
|
|
|
|
.file-content.code
|
2014-02-20 06:51:22 -05:00
|
|
|
.nothing-here-block Empty file
|