.nav-links.sub-nav
  %ul{ class: (container_class) }

    - page_specific_javascripts asset_path("graphs/application.js")
    = nav_link(action: :show) do
      = link_to 'Contributors', namespace_project_graph_path
    = nav_link(action: :commits) do
      = link_to 'Commits', commits_namespace_project_graph_path
    = nav_link(action: :languages) do
      = link_to 'Languages', languages_namespace_project_graph_path
    - if @project.builds_enabled?
      = nav_link(action: :ci) do
        = link_to ci_namespace_project_graph_path do
          Continuous Integration
