20 lines
863 B
Text
20 lines
863 B
Text
= content_for :sub_nav do
|
|
.scrolling-tabs-container.sub-nav-scroll
|
|
= render 'shared/nav_scroll'
|
|
.nav-links.sub-nav.scrolling-tabs
|
|
%ul{ class: container_class }
|
|
= nav_link(path: 'projects#show') do
|
|
= link_to project_path(@project), title: 'Project home', class: 'shortcuts-project' do
|
|
%span
|
|
Home
|
|
|
|
= nav_link(path: 'projects#activity') do
|
|
= link_to activity_project_path(@project), title: 'Activity', class: 'shortcuts-project-activity' do
|
|
%span
|
|
Activity
|
|
|
|
- if can?(current_user, :read_cycle_analytics, @project)
|
|
= nav_link(path: 'cycle_analytics#show') do
|
|
= link_to project_cycle_analytics_path(@project), title: 'Cycle Analytics', class: 'shortcuts-project-cycle-analytics' do
|
|
%span
|
|
Cycle Analytics
|