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

_text.html.haml « blob « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f6bd62f239baab71521db45ea9131ac41c99a4bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- if gitlab_markdown?(blob.name)
  .file-content.wiki
    = preserve do
      = markdown(blob.data)
- elsif markup?(blob.name)
  .file-content.wiki
    = render_markup(blob.name, blob.data)
- else
  .file-content.code
    - unless blob.empty?
      = render 'shared/file_highlight', blob: blob
    - else
      .nothing-here-block Empty file