BigW Consortium Gitlab

_blob.html.haml 374 Bytes
Newer Older
1
- unless @snippet.content.empty?
2
  - if markup?(@snippet.file_name)
3
    %textarea.markdown-snippet-copy.blob-content{data: {blob_id: @snippet.id}}
4
      = @snippet.data
5 6 7
    .file-content.wiki
      = render_markup(@snippet.file_name, @snippet.data)
  - else
8
    = render 'shared/file_highlight', blob: @snippet
9 10
- else
  .file-content.code
Dmitriy Zaporozhets committed
11
    .nothing-here-block Empty file