Commit a0823c87 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Merge branch '2204-contrib-analytics-highlight-sub-nav' into 'master'

Highlight Contribution Analytics tab under groups when active, remove sub-nav items

Closes #2204

See merge request !1677
parents 6b8a2bb7 45eb8289
- page_title "Contribution Analytics" - page_title "Contribution Analytics"
- header_title group_title(@group, "Contribution Analytics", group_analytics_path(@group)) - header_title group_title(@group, "Contribution Analytics", group_analytics_path(@group))
= render "groups/settings_head"
- content_for :page_specific_javascripts do - content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('common_d3') = page_specific_javascript_bundle_tag('common_d3')
= page_specific_javascript_bundle_tag('graphs') = page_specific_javascript_bundle_tag('graphs')
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
= link_to group_group_members_path(@group), title: 'Members' do = link_to group_group_members_path(@group), title: 'Members' do
%span %span
Members Members
= nav_link(controller: [:stats]) do = nav_link(path: 'analytics#show') do
= link_to group_analytics_path(@group), title: 'Contribution Analytics', data: {placement: 'right'} do = link_to group_analytics_path(@group), title: 'Contribution Analytics', data: {placement: 'right'} do
%span %span
Contribution Analytics Contribution Analytics
......
---
title: Highlight Contribution Analytics tab under groups when active, remove sub-nav
items.
merge_request: 1677
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment