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

_remote_mirror_update_button.html.haml « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 770d335a88b86fff1eb91601f2143a3be27e227e (plain)
1
2
3
4
5
6
7
- if remote_mirror.update_in_progress?
  = render Pajamas::ButtonComponent.new(icon: 'retry',
    button_options: { class: 'disabled', title: _('Updating'), data: { toggle: 'tooltip', container: 'body', qa_selector: 'updating_button' } },
    icon_classes: 'spin')
- elsif remote_mirror.enabled?
  = link_to update_now_project_mirror_path(@project, sync_remote: true), method: :post, class: "btn btn-icon gl-button rspec-update-now-button", data: { toggle: 'tooltip', container: 'body', qa_selector: 'update_now_button' }, title: _('Update now') do
    = sprite_icon("retry")