blob: fa5c862b768a37b4cb9a3e77ebae0b64b7f0ad35 (
plain)
1
2
3
4
5
6
|
- if remote_mirror.update_in_progress?
= render Pajamas::ButtonComponent.new(icon: 'retry',
button_options: { class: 'disabled', title: _('Updating'), data: { toggle: 'tooltip', container: 'body' } },
icon_classes: 'spin')
- elsif remote_mirror.enabled?
= link_button_to nil, update_now_project_mirror_path(@project, sync_remote: true), method: :post, class: 'rspec-update-now-button', data: { toggle: 'tooltip', container: 'body', qa_selector: 'update_now_button' }, title: _('Update now'), icon: 'retry'
|