2017-09-10 17:25:29 +05:30
|
|
|
- supports_quick_actions = local_assigns.fetch(:supports_quick_actions, false)
|
2016-06-02 11:05:42 +05:30
|
|
|
.comment-toolbar.clearfix
|
|
|
|
.toolbar-text
|
2020-07-28 23:09:34 +05:30
|
|
|
= link_to _('Markdown'), help_page_path('user/markdown'), target: '_blank'
|
2017-09-10 17:25:29 +05:30
|
|
|
- if supports_quick_actions
|
2016-09-13 17:45:13 +05:30
|
|
|
and
|
2020-07-28 23:09:34 +05:30
|
|
|
= link_to _('quick actions'), help_page_path('user/project/quick_actions'), target: '_blank'
|
2016-09-13 17:45:13 +05:30
|
|
|
are
|
|
|
|
- else
|
|
|
|
is
|
|
|
|
supported
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
%span.uploading-container
|
|
|
|
%span.uploading-progress-container.hide
|
2020-07-28 23:09:34 +05:30
|
|
|
= sprite_icon('media', size: 16, css_class: 'gl-icon gl-vertical-align-text-bottom')
|
2017-09-10 17:25:29 +05:30
|
|
|
%span.attaching-file-message
|
|
|
|
-# Populated by app/assets/javascripts/dropzone_input.js
|
|
|
|
%span.uploading-progress 0%
|
2020-07-28 23:09:34 +05:30
|
|
|
= loading_icon(css_class: 'align-text-bottom gl-mr-2')
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
%span.uploading-error-container.hide
|
|
|
|
%span.uploading-error-icon
|
2020-07-28 23:09:34 +05:30
|
|
|
= sprite_icon('media', size: 16, css_class: 'gl-icon gl-vertical-align-text-bottom')
|
2017-09-10 17:25:29 +05:30
|
|
|
%span.uploading-error-message
|
|
|
|
-# Populated by app/assets/javascripts/dropzone_input.js
|
2019-02-15 15:39:39 +05:30
|
|
|
%button.retry-uploading-link{ type: 'button' }= _("Try again")
|
2017-09-10 17:25:29 +05:30
|
|
|
or
|
2019-02-15 15:39:39 +05:30
|
|
|
%button.attach-new-file.markdown-selector{ type: 'button' }= _("attach a new file")
|
2017-09-10 17:25:29 +05:30
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
%button.btn.markdown-selector.button-attach-file.btn-link{ type: 'button', tabindex: '-1' }
|
|
|
|
= sprite_icon('media', size: 16)
|
2019-09-04 21:01:54 +05:30
|
|
|
%span.text-attach-file<>
|
|
|
|
= _("Attach a file")
|
2017-09-10 17:25:29 +05:30
|
|
|
|
2019-02-15 15:39:39 +05:30
|
|
|
%button.btn.btn-default.btn-sm.hide.button-cancel-uploading-files{ type: 'button' }= _("Cancel")
|