Commit db8ad863 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch '34320-environment-detail-job' into 'master'

Truncate long job names in environment view; wrap author to next line

Closes #34320

See merge request !12455
parents dfe689a7 0c10b2c9
...@@ -11,9 +11,12 @@ ...@@ -11,9 +11,12 @@
.table-mobile-header{ role: 'rowheader' } Job .table-mobile-header{ role: 'rowheader' } Job
- if deployment.deployable - if deployment.deployable
.table-mobile-content .table-mobile-content
.flex-truncate-parent
.flex-truncate-child
= link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable], class: 'build-link' do = link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable], class: 'build-link' do
#{deployment.deployable.name} (##{deployment.deployable.id}) #{deployment.deployable.name} (##{deployment.deployable.id})
- if deployment.user - if deployment.user
%div
by by
= user_avatar(user: deployment.user, size: 20) = user_avatar(user: deployment.user, size: 20)
......
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
.ci-table.environments{ role: 'grid' } .ci-table.environments{ role: 'grid' }
.gl-responsive-table-row.table-row-header{ role: 'row' } .gl-responsive-table-row.table-row-header{ role: 'row' }
.table-section.section-10{ role: 'columnheader' } ID .table-section.section-10{ role: 'columnheader' } ID
.table-section.section-40{ role: 'columnheader' } Commit .table-section.section-30{ role: 'columnheader' } Commit
.table-section.section-15{ role: 'columnheader' } Job .table-section.section-25{ role: 'columnheader' } Job
.table-section.section-15{ role: 'columnheader' } Created .table-section.section-15{ role: 'columnheader' } Created
= render @deployments = render @deployments
......
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