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

_hints.html.haml « notes « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 81d97eabe65f624eeefbf29024b4d28c1db6d9e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- supports_slash_commands = local_assigns.fetch(:supports_slash_commands, false)
.comment-toolbar.clearfix
  .toolbar-text
    = link_to 'Markdown', help_page_path('user/markdown'), target: '_blank', tabindex: -1
    - if supports_slash_commands
      and
      = link_to 'slash commands', help_page_path('user/project/slash_commands'), target: '_blank', tabindex: -1
      are
    - else
      is
    supported
  %button.toolbar-button.markdown-selector{ type: 'button', tabindex: '-1' }
    = icon('file-image-o', class: 'toolbar-button-icon')
    Attach a file