Fix label alignment bug; re-add build-link
This commit is contained in:
parent
c57471ddb4
commit
8ed105bf42
|
@ -81,9 +81,12 @@
|
|||
}
|
||||
|
||||
.label-container {
|
||||
|
||||
.label {
|
||||
margin-top: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.duration,
|
||||
.finished-at {
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
.branch-commit
|
||||
- if can?(current_user, :read_build, build.project)
|
||||
= link_to namespace_project_build_url(build.project.namespace, build.project, build) do
|
||||
%span ##{build.id}
|
||||
%span.build-link ##{build.id}
|
||||
- else
|
||||
%span ##{build.id}
|
||||
%span.build-link ##{build.id}
|
||||
|
||||
- if build.stuck?
|
||||
%i.fa.fa-warning.text-warning
|
||||
|
@ -22,8 +22,8 @@
|
|||
|
||||
= link_to build.short_sha, namespace_project_commit_path(build.project.namespace, build.project, build.sha), class: "monospace commit-id"
|
||||
|
||||
- if build.tags.any?
|
||||
.label-container
|
||||
- if build.tags.any?
|
||||
- build.tags.each do |tag|
|
||||
%span.label.label-primary
|
||||
= tag
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
- if defined?(commit_sha) && commit_sha
|
||||
= link_to build.short_sha, namespace_project_commit_path(build.project.namespace, build.project, build.sha), class: "commit-id monospace"
|
||||
|
||||
- if build.tags.any?
|
||||
.label-container
|
||||
- if build.tags.any?
|
||||
- build.tags.each do |tag|
|
||||
%span.label.label-primary
|
||||
= tag
|
||||
|
|
Loading…
Reference in New Issue