c5f5ce8807
Rename Build to Job Replace "Builds" by "Jobs" and fix broken specs Replace "Builds" by "Jobs" Fix broken spinach test Fix broken test Remove `˙` at the beginning of the file Fix broken spinach test Fix broken tests Changes after review
22 lines
1 KiB
Text
22 lines
1 KiB
Text
.content-block.build-header
|
|
.header-content
|
|
= render 'ci/status/badge', status: @build.detailed_status(current_user), link: false
|
|
Job
|
|
%strong.js-build-id ##{@build.id}
|
|
in pipeline
|
|
= link_to pipeline_path(@build.pipeline) do
|
|
%strong ##{@build.pipeline.id}
|
|
for commit
|
|
= link_to namespace_project_commit_path(@project.namespace, @project, @build.pipeline.sha) do
|
|
%strong= @build.pipeline.short_sha
|
|
from
|
|
= link_to namespace_project_commits_path(@project.namespace, @project, @build.ref) do
|
|
%code
|
|
= @build.ref
|
|
- if @build.user
|
|
= render "user"
|
|
= time_ago_with_tooltip(@build.created_at)
|
|
- if can?(current_user, :update_build, @build) && @build.retryable?
|
|
= link_to "Retry job", retry_namespace_project_build_path(@project.namespace, @project, @build), class: 'btn btn-inverted-secondary pull-right', method: :post
|
|
%button.btn.btn-default.pull-right.visible-xs-block.visible-sm-block.build-gutter-toggle.js-sidebar-build-toggle{ role: "button", type: "button" }
|
|
= icon('angle-double-left')
|