Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_blob.html.haml « snippets « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 773ce8ac240f8bad822d8fc6a74f1b133cc2b18a (plain)
1
2
3
4
5
6
7
8
9
10
11
- unless @snippet.content.empty?
  - if markup?(@snippet.file_name)
    %textarea.markdown-snippet-copy.blob-content{data: {blob_id: @snippet.id}}
      = @snippet.data
    .file-content.wiki
      = render_markup(@snippet.file_name, @snippet.data)
  - else
    = render 'shared/file_highlight', blob: @snippet
- else
  .file-content.code
    .nothing-here-block Empty file