Commit 942de350 authored by Mike Greiling's avatar Mike Greiling

update generic commit status to correspond with build status template

parent 0afbe8fc
...@@ -84,7 +84,8 @@ ...@@ -84,7 +84,8 @@
font-weight: 600; font-weight: 600;
} }
.commit { .commit,
.generic_commit_status {
padding: 10px 0; padding: 10px 0;
position: relative; position: relative;
...@@ -102,7 +103,6 @@ ...@@ -102,7 +103,6 @@
vertical-align: baseline; vertical-align: baseline;
} }
.avatar { .avatar {
margin-left: -46px; margin-left: -46px;
} }
......
...@@ -15,6 +15,15 @@ ...@@ -15,6 +15,15 @@
- if defined?(retried) && retried - if defined?(retried) && retried
= icon('warning', class: 'text-warning has-tooltip', title: 'Status was retried.') = icon('warning', class: 'text-warning has-tooltip', title: 'Status was retried.')
%td
= link_to pipeline_path(generic_commit_status.pipeline) do
%span.pipeline-id ##{generic_commit_status.pipeline.id}
%span by
- if generic_commit_status.pipeline.user
= user_avatar(user: generic_commit_status.pipeline.user, size: 20)
- else
%span.api.monospace API
- if defined?(commit_sha) && commit_sha - if defined?(commit_sha) && commit_sha
%td %td
= link_to generic_commit_status.short_sha, namespace_project_commit_path(generic_commit_status.project.namespace, generic_commit_status.project, generic_commit_status.sha), class: "monospace" = link_to generic_commit_status.short_sha, namespace_project_commit_path(generic_commit_status.project.namespace, generic_commit_status.project, generic_commit_status.sha), class: "monospace"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment