diff options
Diffstat (limited to 'app/views/shared/notes/_hints.html.haml')
-rw-r--r-- | app/views/shared/notes/_hints.html.haml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/shared/notes/_hints.html.haml b/app/views/shared/notes/_hints.html.haml new file mode 100644 index 00000000000..81d97eabe65 --- /dev/null +++ b/app/views/shared/notes/_hints.html.haml @@ -0,0 +1,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 |