Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_nav_project.html.haml « ci « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 10b87e3a2b19d3e33cbafb907a96906bf33b50e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
%ul.nav.nav-sidebar
  = nav_link do
    = link_to defined?(back_url) ? back_url : ci_root_path, title: defined?(back_title) ? back_title : 'Back to Dashboard', data: {placement: 'right'}, class: 'back-link' do
      = icon('caret-square-o-left fw')
      %span= defined?(back_title) ? back_title : 'Back to Dashboard'
  %li.separate-item
  = nav_link path: ['projects#show', 'commits#show', 'builds#show'] do
    = link_to ci_project_path(@project) do
      %i.fa.fa-list-alt
      %span
        Commits
        %small.pull-right= @project.commits.count
  = nav_link path: 'charts#show' do
    = link_to ci_project_charts_path(@project) do
      %i.fa.fa-bar-chart
      %span
        Charts
  = nav_link path: ['runners#index', 'runners#show', 'runners#edit'] do
    = link_to ci_project_runners_path(@project) do
      %i.fa.fa-cog
      %span
        Runners
  = nav_link path: 'variables#show' do
    = link_to ci_project_variables_path(@project) do
      %i.fa.fa-code
      %span
        Variables
  = nav_link path: 'web_hooks#index' do
    = link_to ci_project_web_hooks_path(@project) do
      %i.fa.fa-link
      %span
        Web Hooks
  = nav_link path: 'triggers#index' do
    = link_to ci_project_triggers_path(@project) do
      %i.fa.fa-retweet
      %span
        Triggers
  = nav_link path: ['services#index', 'services#edit'] do
    = link_to ci_project_services_path(@project) do
      %i.fa.fa-share
      %span
        Services
  = nav_link path: 'events#index' do
    = link_to ci_project_events_path(@project) do
      %i.fa.fa-book
      %span
        Events
  %li.separate-item
  = nav_link path: 'projects#edit' do
    = link_to edit_ci_project_path(@project) do
      %i.fa.fa-cogs
      %span
        Settings