debian-mirror-gitlab/app/views/layouts/nav/_analytics_link.html.haml

5 lines
373 B
Text
Raw Normal View History

2020-03-13 15:44:24 +05:30
- return unless dashboard_nav_link?(:analytics)
= nav_link(controller: [:dev_ops_score, :cohorts], html_options: { class: "d-none d-xl-block"}) do
= link_to instance_statistics_root_path, class: 'chart-icon', title: _('Analytics'), aria: { label: _('Analytics') }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= sprite_icon('chart', size: 18)