summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/_text.html.haml
blob: 906e5ccb360c106eb03d04020eeec24262219781 (plain)
1
2
3
4
5
6
7
8
9
- 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