Commit 48b1eded authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve admin/labels page ui

Remove unnecessary gray block around no labels message.
Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent b38b2a4d
- if @labels.size == 0
$('.labels').load(document.URL + ' .card.bg-light').hide().fadeIn(1000)
- if @labels.size.zero?
$('.labels').load(document.URL + ' .nothing-here-block').hide().fadeIn(1000)
......@@ -14,6 +14,4 @@
= paginate @labels, theme: 'gitlab'
- 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