2016-08-12 21:19:52 -04:00
|
|
|
- supports_slash_commands = local_assigns.fetch(:supports_slash_commands, false)
|
2016-03-30 05:00:43 -04:00
|
|
|
.comment-toolbar.clearfix
|
|
|
|
.toolbar-text
|
|
|
|
Styling with
|
2016-08-22 16:25:05 -04:00
|
|
|
= link_to 'Markdown', help_page_path('user/markdown'), target: '_blank', tabindex: -1
|
2016-08-12 21:19:52 -04:00
|
|
|
- if supports_slash_commands
|
|
|
|
and
|
2016-08-22 09:02:24 -04:00
|
|
|
= link_to 'slash commands', help_page_path('user/project/slash_commands'), target: '_blank', tabindex: -1
|
2016-08-12 21:19:52 -04:00
|
|
|
are
|
|
|
|
- else
|
|
|
|
is
|
|
|
|
supported
|
2016-03-30 05:19:58 -04:00
|
|
|
%button.toolbar-button.markdown-selector{ type: 'button', tabindex: '-1' }
|
2016-03-30 05:00:43 -04:00
|
|
|
= icon('file-image-o', class: 'toolbar-button-icon')
|
2016-08-12 21:19:52 -04:00
|
|
|
Attach a file
|