diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-19 09:08:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-19 09:08:42 +0000 |
commit | b76ae638462ab0f673e5915986070518dd3f9ad3 (patch) | |
tree | bdab0533383b52873be0ec0eb4d3c66598ff8b91 /app/views/projects/ci/builds/_build.html.haml | |
parent | 434373eabe7b4be9593d18a585fb763f1e5f1a6f (diff) | |
download | gitlab-ce-b76ae638462ab0f673e5915986070518dd3f9ad3.tar.gz |
Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42
Diffstat (limited to 'app/views/projects/ci/builds/_build.html.haml')
-rw-r--r-- | app/views/projects/ci/builds/_build.html.haml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/projects/ci/builds/_build.html.haml b/app/views/projects/ci/builds/_build.html.haml index 824e876500b..1a3813ba99f 100644 --- a/app/views/projects/ci/builds/_build.html.haml +++ b/app/views/projects/ci/builds/_build.html.haml @@ -12,12 +12,15 @@ %td.status = render "ci/status/badge", status: job.detailed_status(current_user), title: job.status_title - %td.branch-commit.cgray + %td - if can?(current_user, :read_build, job) - = link_to project_job_path(job.project, job) do - %span.build-link ##{job.id} + = link_to job.name, project_job_path(job.project, job), class: 'gl-text-blue-600!' - else - %span.build-link ##{job.id} + %span.gl-text-blue-600! + = job.name + + %td.branch-commit.gl-text-gray-900 + %span.build-link ##{job.id} - if ref - if job.ref @@ -79,9 +82,6 @@ = job.stage %td - = job.name - - %td - if job.duration %p.duration = custom_icon("icon_timer") @@ -105,7 +105,7 @@ - if can?(current_user, :update_build, job) - if job.active? = link_to cancel_project_job_path(job.project, job, continue: { to: request.fullpath }), method: :post, title: _('Cancel'), class: 'gl-button btn btn-default btn-icon' do - = sprite_icon('close', css_class: 'gl-icon') + = sprite_icon('cancel', css_class: 'gl-icon') - elsif job.scheduled? .gl-button.btn.btn-default.btn-icon.disabled{ disabled: true } = sprite_icon('planning', css_class: 'gl-icon') |