debian-mirror-gitlab/app/views/projects/commits/_head.html.haml

37 lines
1.4 KiB
Text
Raw Normal View History

2016-11-03 12:29:30 +05:30
= 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(controller: %w(tree blob blame edit_tree new_tree find_file)) do
2017-09-10 17:25:29 +05:30
= link_to project_tree_path(@project) do
#{ _('Files') }
2015-12-23 02:04:40 +05:30
2016-11-03 12:29:30 +05:30
= nav_link(controller: [:commit, :commits]) do
2017-09-10 17:25:29 +05:30
= link_to project_commits_path(@project, current_ref) do
#{ _('Commits') }
2015-12-23 02:04:40 +05:30
2016-11-03 12:29:30 +05:30
= nav_link(html_options: {class: branches_tab_class}) do
2017-09-10 17:25:29 +05:30
= link_to project_branches_path(@project) do
#{ _('Branches') }
2016-11-03 12:29:30 +05:30
= nav_link(controller: [:tags, :releases]) do
2017-09-10 17:25:29 +05:30
= link_to project_tags_path(@project) do
#{ _('Tags') }
2017-08-17 22:00:37 +05:30
= nav_link(path: 'graphs#show') do
2017-09-10 17:25:29 +05:30
= link_to project_graph_path(@project, current_ref) do
#{ _('Contributors') }
2017-08-17 22:00:37 +05:30
= nav_link(controller: %w(network)) do
2017-09-10 17:25:29 +05:30
= link_to project_network_path(@project, current_ref) do
#{ s_('ProjectNetworkGraph|Graph') }
2017-08-17 22:00:37 +05:30
= nav_link(controller: :compare) do
2017-09-10 17:25:29 +05:30
= link_to project_compare_index_path(@project, from: @repository.root_ref, to: current_ref) do
#{ _('Compare') }
2017-08-17 22:00:37 +05:30
= nav_link(path: 'graphs#charts') do
2017-09-10 17:25:29 +05:30
= link_to charts_project_graph_path(@project, current_ref) do
#{ _('Charts') }