_head.html.haml 923 Bytes
Newer Older
1
%ul.nav-links
2 3 4 5
  = nav_link(controller: %w(tree blob blame edit_tree new_tree find_file)) do
    = link_to project_files_path(@project) do
      Files

6
  = nav_link(controller: [:commit, :commits]) do
7
    = link_to namespace_project_commits_path(@project.namespace, @project, current_ref) do
Phil Hughes's avatar
Phil Hughes committed
8
      Commits
9

10 11 12
  = nav_link(controller: %w(network)) do
    = link_to namespace_project_network_path(@project.namespace, @project, current_ref) do
      Network
13

14
  = nav_link(controller: :compare) do
15
    = link_to namespace_project_compare_index_path(@project.namespace, @project, from: @repository.root_ref, to: current_ref) do
Douwe Maan's avatar
Douwe Maan committed
16
      Compare
17 18

  = nav_link(html_options: {class: branches_tab_class}) do
Vinnie Okada's avatar
Vinnie Okada committed
19
    = link_to namespace_project_branches_path(@project.namespace, @project) do
20 21
      Branches

22
  = nav_link(controller: [:tags, :releases]) do
Vinnie Okada's avatar
Vinnie Okada committed
23
    = link_to namespace_project_tags_path(@project.namespace, @project) do
24
      Tags