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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-05-07 15:37:25 +0300
committerNick Thomas <nick@gitlab.com>2019-05-07 15:37:25 +0300
commitfb688545e51d87d3b145b0c7fa9adc8c6b2139b2 (patch)
treebfab4f0c532ec431c8a4ba8fce13bb11a415f862 /app/views/shared
parentf2aa884bfacf211354f61768a053590d18f0756c (diff)
parent875338487343b092f670ab5e0323904ec5457a3a (diff)
Merge branch 'show-disabled-mirrors' into 'master'
CE Show disabled project repo mirrors See merge request gitlab-org/gitlab-ce!27326
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/_remote_mirror_update_button.html.haml2
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 721a2af8069..8da2ae5111a 100644
--- a/app/views/shared/_remote_mirror_update_button.html.haml
+++ b/app/views/shared/_remote_mirror_update_button.html.haml
@@ -1,6 +1,6 @@
- if remote_mirror.update_in_progress?
%button.btn.disabled{ type: 'button', data: { toggle: 'tooltip', container: 'body' }, title: _('Updating') }
= icon("refresh spin")
-- else
+- elsif remote_mirror.enabled?
= 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
= icon("refresh")