debian-mirror-gitlab/app/views/projects/notes/_hints.html.haml

16 lines
581 B
Text
Raw Normal View History

2016-09-13 17:45:13 +05:30
- supports_slash_commands = local_assigns.fetch(:supports_slash_commands, false)
2016-06-02 11:05:42 +05:30
.comment-toolbar.clearfix
.toolbar-text
Styling with
2016-09-13 17:45:13 +05:30
= 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
2016-06-02 11:05:42 +05:30
%button.toolbar-button.markdown-selector{ type: 'button', tabindex: '-1' }
= icon('file-image-o', class: 'toolbar-button-icon')
2016-09-13 17:45:13 +05:30
Attach a file