diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-20 03:06:15 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-20 03:06:15 +0000 |
commit | a264dc20c7b1f9bf7863a2a8048324d28aafaac0 (patch) | |
tree | 4d5446857903e25e19936e887c38a4c341baebe2 /app/views/shared/_remote_mirror_update_button.html.haml | |
parent | fc8c74fd0cbe7384038ead2dd2493f5c63d2b98d (diff) | |
download | gitlab-ce-a264dc20c7b1f9bf7863a2a8048324d28aafaac0.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/shared/_remote_mirror_update_button.html.haml')
-rw-r--r-- | app/views/shared/_remote_mirror_update_button.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_remote_mirror_update_button.html.haml b/app/views/shared/_remote_mirror_update_button.html.haml index 4b39c8b06e9..54bd4ba04a0 100644 --- a/app/views/shared/_remote_mirror_update_button.html.haml +++ b/app/views/shared/_remote_mirror_update_button.html.haml @@ -1,5 +1,5 @@ - if remote_mirror.update_in_progress? - %button.btn.disabled{ type: 'button', data: { toggle: 'tooltip', container: 'body' }, title: _('Updating') } + %button.btn.disabled{ type: 'button', data: { toggle: 'tooltip', container: 'body', qa_selector: 'updating_button' }, title: _('Updating') } = icon("refresh spin") - elsif remote_mirror.enabled? = link_to update_now_project_mirror_path(@project, sync_remote: true), method: :post, class: "btn qa-update-now-button rspec-update-now-button", data: { toggle: 'tooltip', container: 'body' }, title: _('Update now') do |