BigW Consortium Gitlab

_hints.html.haml 581 Bytes
Newer Older
1
- supports_slash_commands = local_assigns.fetch(:supports_slash_commands, false)
2 3 4
.comment-toolbar.clearfix
  .toolbar-text
    Styling with
5
    = link_to 'Markdown', help_page_path('user/markdown'), target: '_blank', tabindex: -1
6 7
    - if supports_slash_commands
      and
8
      = link_to 'slash commands', help_page_path('user/project/slash_commands'), target: '_blank', tabindex: -1
9 10 11 12
      are
    - else
      is
    supported
13
  %button.toolbar-button.markdown-selector{ type: 'button', tabindex: '-1' }
14
    = icon('file-image-o', class: 'toolbar-button-icon')
15
    Attach a file