summaryrefslogtreecommitdiff
path: root/app/views/layouts/nav/_project.html.haml
diff options
context:
space:
mode:
authorRubén Dávila <rdavila84@gmail.com>2016-01-11 14:44:31 -0500
committerRubén Dávila <rdavila84@gmail.com>2016-01-20 00:14:58 -0500
commit7765ce187590408fe424403a92402531fdbc8f60 (patch)
tree28a5fa8fd91de30b47f6cea4cabbce386e739d68 /app/views/layouts/nav/_project.html.haml
parenta382ad99efd4c792f70705d386b2be688b667f24 (diff)
downloadgitlab-ce-7765ce187590408fe424403a92402531fdbc8f60.tar.gz
Setup new fork link in sidebar and routes. #2406
Diffstat (limited to 'app/views/layouts/nav/_project.html.haml')
-rw-r--r--app/views/layouts/nav/_project.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/layouts/nav/_project.html.haml b/app/views/layouts/nav/_project.html.haml
index 270ccfd387f..7fc87caf40d 100644
--- a/app/views/layouts/nav/_project.html.haml
+++ b/app/views/layouts/nav/_project.html.haml
@@ -98,6 +98,13 @@
%span
Wiki
+ - if project_nav_tab? :forks
+ = nav_link(controller: :forks, action: :index) do
+ = link_to namespace_project_forks_path(@project.namespace, @project), title: 'Forks', class: 'shortcuts-wiki' do
+ = icon('book fw')
+ %span
+ Forks
+
- if project_nav_tab? :snippets
= nav_link(controller: :snippets) do
= link_to namespace_project_snippets_path(@project.namespace, @project), title: 'Snippets', class: 'shortcuts-snippets' do