2015-09-11 14:41:01 +05:30
|
|
|
%ul.nav.nav-sidebar
|
|
|
|
= nav_link do
|
2015-11-26 14:37:03 +05:30
|
|
|
= link_to project_path(@project), title: 'Go to project', data: {placement: 'right'}, class: 'back-link' do
|
2015-09-11 14:41:01 +05:30
|
|
|
= icon('caret-square-o-left fw')
|
|
|
|
%span
|
2015-11-26 14:37:03 +05:30
|
|
|
Go to project
|
2015-09-11 14:41:01 +05:30
|
|
|
|
|
|
|
%li.separate-item
|
|
|
|
|
|
|
|
%ul.sidebar-subnav
|
|
|
|
= nav_link(path: 'projects#edit') do
|
|
|
|
= link_to edit_project_path(@project), title: 'Project Settings', data: {placement: 'right'} do
|
|
|
|
= icon('pencil-square-o fw')
|
|
|
|
%span
|
|
|
|
Project Settings
|
|
|
|
= nav_link(controller: :deploy_keys) do
|
|
|
|
= link_to namespace_project_deploy_keys_path(@project.namespace, @project), title: 'Deploy Keys', data: {placement: 'right'} do
|
|
|
|
= icon('key fw')
|
|
|
|
%span
|
|
|
|
Deploy Keys
|
|
|
|
= nav_link(controller: :hooks) do
|
|
|
|
= link_to namespace_project_hooks_path(@project.namespace, @project), title: 'Web Hooks', data: {placement: 'right'} do
|
|
|
|
= icon('link fw')
|
|
|
|
%span
|
|
|
|
Web Hooks
|
|
|
|
= nav_link(controller: :services) do
|
|
|
|
= link_to namespace_project_services_path(@project.namespace, @project), title: 'Services', data: {placement: 'right'} do
|
|
|
|
= icon('cogs fw')
|
|
|
|
%span
|
|
|
|
Services
|
|
|
|
= nav_link(controller: :protected_branches) do
|
|
|
|
= link_to namespace_project_protected_branches_path(@project.namespace, @project), title: 'Protected Branches', data: {placement: 'right'} do
|
|
|
|
= icon('lock fw')
|
|
|
|
%span
|
|
|
|
Protected Branches
|
|
|
|
|
2015-11-26 14:37:03 +05:30
|
|
|
- if @project.builds_enabled?
|
2015-10-24 18:46:33 +05:30
|
|
|
= nav_link(controller: :runners) do
|
|
|
|
= link_to namespace_project_runners_path(@project.namespace, @project), title: 'Runners', data: {placement: 'right'} do
|
|
|
|
= icon('cog fw')
|
|
|
|
%span
|
|
|
|
Runners
|
|
|
|
= nav_link(controller: :variables) do
|
|
|
|
= link_to namespace_project_variables_path(@project.namespace, @project) do
|
|
|
|
= icon('code fw')
|
|
|
|
%span
|
|
|
|
Variables
|
|
|
|
= nav_link path: 'triggers#index' do
|
|
|
|
= link_to namespace_project_triggers_path(@project.namespace, @project) do
|
|
|
|
= icon('retweet fw')
|
|
|
|
%span
|
|
|
|
Triggers
|
|
|
|
= nav_link path: 'ci_web_hooks#index' do
|
|
|
|
= link_to namespace_project_ci_web_hooks_path(@project.namespace, @project) do
|
|
|
|
= icon('link fw')
|
|
|
|
%span
|
|
|
|
CI Web Hooks
|
|
|
|
= nav_link path: 'ci_settings#edit' do
|
|
|
|
= link_to edit_namespace_project_ci_settings_path(@project.namespace, @project) do
|
|
|
|
= icon('building fw')
|
|
|
|
%span
|
|
|
|
CI Settings
|
|
|
|
= nav_link controller: 'ci_services' do
|
|
|
|
= link_to namespace_project_ci_services_path(@project.namespace, @project) do
|
|
|
|
= icon('share fw')
|
|
|
|
%span
|
|
|
|
CI Services
|