summaryrefslogtreecommitdiff
path: root/app/views/projects/_stat_anchor_list.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_stat_anchor_list.html.haml')
-rw-r--r--app/views/projects/_stat_anchor_list.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_stat_anchor_list.html.haml b/app/views/projects/_stat_anchor_list.html.haml
index 11ce686167a..8bffd1396ae 100644
--- a/app/views/projects/_stat_anchor_list.html.haml
+++ b/app/views/projects/_stat_anchor_list.html.haml
@@ -1,7 +1,7 @@
- anchors = local_assigns.fetch(:anchors, [])
- return unless anchors.any?
-%ul.nav
+%ul.nav.justify-content-center
- anchors.each do |anchor|
%li.nav-item
= link_to_if anchor.link, anchor.label, anchor.link, class: anchor.enabled ? 'nav-link stat-link' : "nav-link btn btn-#{anchor.class_modifier || 'missing'}" do