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

_table.html.haml « jobs « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 819837a9eff96f0759da24776abb07f59b9ca090 (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
- admin = local_assigns.fetch(:admin, false)

- if builds.blank?
  - if @project
    .row.empty-state
      .col-12
        .svg-content.svg-250
          = image_tag('jobs-empty-state.svg')
      .col-12
        .text-content.gl-text-center
          %h4
            = s_('Jobs|Use jobs to automate your tasks')
          %p
            = s_('Jobs|Jobs are the building blocks of a GitLab CI/CD pipeline. Each job has a specific task, like testing code. To set up jobs in a CI/CD pipeline, add a CI/CD configuration file to your project.')
          = link_to s_('Jobs|Create CI/CD configuration file'), project_ci_pipeline_editor_path(project), class: 'btn gl-button btn-info js-empty-state-button'
  - else
    .nothing-here-block= s_('Jobs|No jobs to show')
- else
  .table-holder
    %table.table.ci-table.builds-page
      %thead
        %tr
          %th Status
          %th Job
          %th Pipeline
          - if admin
            %th Project
            %th Runner
          %th Stage
          %th Name
          %th Duration
          %th Coverage
          %th

      = render partial: "projects/ci/builds/build", collection: builds, as: :build, locals: { commit_sha: true, ref: true, pipeline_link: true, stage: true, allow_retry: true, admin: admin }

  = paginate_collection(builds)