summaryrefslogtreecommitdiff
path: root/app/views/projects/_stat_anchor_list.html.haml
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2018-02-02 15:50:09 -0600
committerEric Eastwood <contact@ericeastwood.com>2018-02-16 00:51:35 -0600
commitb866cba7f57025dad9e0c8dc93716d22baa87206 (patch)
tree5673df20c81bd202d4a2a9db9e8eb0c8197decb2 /app/views/projects/_stat_anchor_list.html.haml
parentdd8f56e86296f8ba6769075ef6bc6e28264706b6 (diff)
downloadgitlab-ce-b866cba7f57025dad9e0c8dc93716d22baa87206.tar.gz
Add Auto DevOps and Kubernetes cluster button to project page
Diffstat (limited to 'app/views/projects/_stat_anchor_list.html.haml')
-rw-r--r--app/views/projects/_stat_anchor_list.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/projects/_stat_anchor_list.html.haml b/app/views/projects/_stat_anchor_list.html.haml
new file mode 100644
index 00000000000..9ca51f8d68c
--- /dev/null
+++ b/app/views/projects/_stat_anchor_list.html.haml
@@ -0,0 +1,5 @@
+- anchors = local_assigns.fetch(:anchors, [])
+
+- if anchors.size > 0
+ %ul.nav
+ = render partial: 'stat_anchor_list_item', collection: anchors, as: :anchor