summaryrefslogtreecommitdiff
path: root/app/views/projects/mirrors/_disabled_mirror_badge.html.haml
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2019-03-21 22:24:48 +0000
committerLuke Bennett <lbennett@gitlab.com>2019-05-07 03:42:09 +0100
commit875338487343b092f670ab5e0323904ec5457a3a (patch)
treef625635a4198e9d6a884fa6bfe73630ab49af978 /app/views/projects/mirrors/_disabled_mirror_badge.html.haml
parent4ebbfb9f1e95091a7753a10e12d989d72f4332f8 (diff)
downloadgitlab-ce-875338487343b092f670ab5e0323904ec5457a3a.tar.gz
Show disabled project repo mirrorsshow-disabled-mirrors
Show disabled mirrors with a badge so that they can be deleted by project owners.
Diffstat (limited to 'app/views/projects/mirrors/_disabled_mirror_badge.html.haml')
-rw-r--r--app/views/projects/mirrors/_disabled_mirror_badge.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/mirrors/_disabled_mirror_badge.html.haml b/app/views/projects/mirrors/_disabled_mirror_badge.html.haml
new file mode 100644
index 00000000000..356cb43f07f
--- /dev/null
+++ b/app/views/projects/mirrors/_disabled_mirror_badge.html.haml
@@ -0,0 +1 @@
+.badge.badge-warning.qa-disabled-mirror-badge{ data: { toggle: 'tooltip', html: 'true' }, title: _('Disabled mirrors can only be enabled by instance owners. It is recommended that you delete them.') }= _('Disabled')