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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-16 21:18:33 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-16 21:18:33 +0300
commitf64a639bcfa1fc2bc89ca7db268f594306edfd7c (patch)
treea2c3c2ebcc3b45e596949db485d6ed18ffaacfa1 /app/views/admin/labels/index.html.haml
parentbfbc3e0d6583ea1a91f627528bedc3d65ba4b10f (diff)
Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40
Diffstat (limited to 'app/views/admin/labels/index.html.haml')
-rw-r--r--app/views/admin/labels/index.html.haml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/admin/labels/index.html.haml b/app/views/admin/labels/index.html.haml
index f204e620e9d..6861a802a63 100644
--- a/app/views/admin/labels/index.html.haml
+++ b/app/views/admin/labels/index.html.haml
@@ -1,7 +1,7 @@
- page_title _("Labels")
%div
- = link_to new_admin_label_path, class: "float-right btn gl-button btn-success" do
+ = link_to new_admin_label_path, class: "float-right btn gl-button btn-confirm" do
= _('New label')
%h3.page-title
= _('Labels')
@@ -13,5 +13,6 @@
= render @labels
= paginate @labels, theme: 'gitlab'
- - else
- .nothing-here-block= _('There are no labels yet')
+
+ .nothing-here-block{ class: ('hidden' if @labels.present?) }
+ = _('There are no labels yet')