gitlab-org--gitlab-foss/app/views/layouts/ci/_nav_project.html.haml

41 lines
1.2 KiB
Text
Raw Normal View History

2015-08-25 21:42:46 -04:00
%ul.nav.nav-pills.nav-stacked.project-menu
= nav_link path: 'projects#show' do
= link_to ci_project_path(@project) do
%i.fa-list-alt
Commits
%small.pull-right= @project.commits.count
= nav_link path: 'charts#show' do
= link_to ci_project_charts_path(@project) do
%i.fa-bar-chart
Charts
= nav_link path: ['runners#index', 'runners#show'] do
= link_to ci_project_runners_path(@project) do
%i.fa-cog
Runners
= nav_link path: 'variables#index' do
= link_to ci_project_variables_path(@project) do
%i.fa-code
Variables
= nav_link path: 'web_hooks#index' do
= link_to ci_project_web_hooks_path(@project) do
%i.fa-link
Web Hooks
= nav_link path: 'triggers#index' do
= link_to ci_project_triggers_path(@project) do
%i.fa-retweet
Triggers
= nav_link path: 'services#index' do
= link_to ci_project_services_path(@project) do
%i.fa-share
Services
= nav_link path: 'events#index' do
= link_to ci_project_events_path(@project) do
%i.fa-book
Events
%li
%hr
= nav_link path: 'projects#edit' do
= link_to edit_ci_project_path(@project) do
%i.fa-cogs
Settings