Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_hints.html.haml « notes « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 51c1ee0c4d1786df929a843a72b1f78bb24615df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
- supports_quick_actions = local_assigns.fetch(:supports_quick_actions, false)
.comment-toolbar.clearfix
  .toolbar-text
    = link_to _('Markdown'), help_page_path('user/markdown'), target: '_blank'
    - if supports_quick_actions
      and
      = link_to _('quick actions'), help_page_path('user/project/quick_actions'), target: '_blank'
      are
    - else
      is
    supported

  %span.uploading-container
    %span.uploading-progress-container.hide
      = sprite_icon('media', css_class: 'gl-icon gl-vertical-align-text-bottom')
      %span.attaching-file-message
        -# Populated by app/assets/javascripts/dropzone_input.js
      %span.uploading-progress 0%
      = loading_icon(css_class: 'align-text-bottom gl-mr-2')

    %span.uploading-error-container.hide
      %span.uploading-error-icon
        = sprite_icon('media', css_class: 'gl-icon gl-vertical-align-text-bottom')
      %span.uploading-error-message
        -# Populated by app/assets/javascripts/dropzone_input.js
      %button.retry-uploading-link{ type: 'button' }= _("Try again")
      or
      %button.attach-new-file.markdown-selector{ type: 'button' }= _("attach a new file")

    %button.btn.markdown-selector.button-attach-file.btn-link{ type: 'button', tabindex: '-1' }
      = sprite_icon('media')
      %span.text-attach-file<>
        = _("Attach a file")

    %button.btn.btn-default.btn-sm.hide.button-cancel-uploading-files{ type: 'button' }= _("Cancel")