summaryrefslogtreecommitdiff
path: root/app/views/projects/jobs/index.html.haml
blob: 0b4b4aafeeefa9bddd1b11ca2727174c27e800b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- page_title _("Jobs")

.top-area
  - build_path_proc = ->(scope) { project_jobs_path(@project, scope: scope) }
  = render "shared/builds/tabs", build_path_proc: build_path_proc, all_builds: @all_builds, scope: @scope

  .nav-controls
    - if can?(current_user, :update_build, @project)
      - unless @repository.gitlab_ci_yml
        = link_to 'Get started with Pipelines', help_page_path('ci/quick_start/README'), class: 'btn gl-button btn-info'

      = link_to project_ci_lint_path(@project), class: 'btn gl-button btn-default' do
        %span CI lint

.content-list.builds-content-list
  = render "table", builds: @builds, project: @project