2018-11-20 20:47:30 +05:30
|
|
|
- if remote_mirror.update_in_progress?
|
|
|
|
%button.btn.disabled{ type: 'button', data: { toggle: 'tooltip', container: 'body' }, title: _('Updating') }
|
|
|
|
= icon("refresh spin")
|
2019-07-31 22:56:46 +05:30
|
|
|
- elsif remote_mirror.enabled?
|
2019-02-15 15:39:39 +05:30
|
|
|
= link_to update_now_project_mirror_path(@project, sync_remote: true), method: :post, class: "btn qa-update-now-button", data: { toggle: 'tooltip', container: 'body' }, title: _('Update now') do
|
2018-11-20 20:47:30 +05:30
|
|
|
= icon("refresh")
|