BigW Consortium Gitlab

index.html.haml 971 Bytes
Newer Older
1
- @no_container = true
Kamil Trzcinski committed
2
- page_title "Builds"
3
= render "projects/pipelines/head"
Kamil Trzcinski committed
4

5
%div{ class: container_class }
6
  .top-area
7 8
    - build_path_proc = ->(scope) { project_builds_path(@project, scope: scope) }
    = render "shared/builds/tabs", build_path_proc: build_path_proc, all_builds: @all_builds, scope: @scope
9 10 11 12 13 14 15 16

    .nav-controls
      - if can?(current_user, :update_build, @project)
        - if @all_builds.running_or_pending.any?
          = link_to 'Cancel running', cancel_all_namespace_project_builds_path(@project.namespace, @project),
            data: { confirm: 'Are you sure?' }, class: 'btn btn-danger', method: :post

        - unless @repository.gitlab_ci_yml
17
          = link_to 'Get started with Builds', help_page_path('ci/quick_start/README'), class: 'btn btn-info'
18 19 20 21

        = link_to ci_lint_path, class: 'btn btn-default' do
          %span CI Lint

22
  %div.content-list.builds-content-list
23
    = render "table", builds: @builds, project: @project