2016-08-24 12:49:21 +05:30
|
|
|
.scrolling-tabs-container.sub-nav-scroll
|
2016-09-29 09:46:39 +05:30
|
|
|
= render 'shared/nav_scroll'
|
2016-06-16 23:09:34 +05:30
|
|
|
.nav-links.sub-nav.scrolling-tabs
|
|
|
|
%ul{ class: (container_class) }
|
|
|
|
= nav_link(controller: %w(tree blob blame edit_tree new_tree find_file)) do
|
|
|
|
= link_to project_files_path(@project) do
|
|
|
|
Files
|
2015-12-23 02:04:40 +05:30
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
= nav_link(controller: [:commit, :commits]) do
|
|
|
|
= link_to namespace_project_commits_path(@project.namespace, @project, current_ref) do
|
|
|
|
Commits
|
2015-12-23 02:04:40 +05:30
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
= nav_link(controller: %w(network)) do
|
|
|
|
= link_to namespace_project_network_path(@project.namespace, @project, current_ref) do
|
|
|
|
Network
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
= nav_link(controller: :compare) do
|
|
|
|
= link_to namespace_project_compare_index_path(@project.namespace, @project, from: @repository.root_ref, to: current_ref) do
|
|
|
|
Compare
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
= nav_link(html_options: {class: branches_tab_class}) do
|
|
|
|
= link_to namespace_project_branches_path(@project.namespace, @project) do
|
|
|
|
Branches
|
|
|
|
|
|
|
|
= nav_link(controller: [:tags, :releases]) do
|
|
|
|
= link_to namespace_project_tags_path(@project.namespace, @project) do
|
|
|
|
Tags
|