Commit c919b1b7 authored by Mike Greiling's avatar Mike Greiling

Merge branch 'dz-admin-labels-page' into 'master'

Improve admin/labels page ui

See merge request gitlab-org/gitlab!17831
parents 854b6aca 48b1eded
- if @labels.size == 0 - if @labels.size.zero?
$('.labels').load(document.URL + ' .card.bg-light').hide().fadeIn(1000) $('.labels').load(document.URL + ' .nothing-here-block').hide().fadeIn(1000)
...@@ -14,6 +14,4 @@ ...@@ -14,6 +14,4 @@
= paginate @labels, theme: 'gitlab' = paginate @labels, theme: 'gitlab'
- else - else
.card.bg-light .nothing-here-block= _('There are no labels yet')
.nothing-here-block= _('There are no labels yet')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment