diff options
Diffstat (limited to 'app/views/projects/_stat_anchor_list.html.haml')
-rw-r--r-- | app/views/projects/_stat_anchor_list.html.haml | 5 |
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 |