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,11 +11,14 @@ ...@@ -11,11 +11,14 @@
.table-mobile-header{ role: 'rowheader' } Job .table-mobile-header{ role: 'rowheader' } Job
- if deployment.deployable - if deployment.deployable
.table-mobile-content .table-mobile-content
= link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable], class: 'build-link' do .flex-truncate-parent
#{deployment.deployable.name} (##{deployment.deployable.id}) .flex-truncate-child
= link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable], class: 'build-link' do
#{deployment.deployable.name} (##{deployment.deployable.id})
- if deployment.user - if deployment.user
by %div
= user_avatar(user: deployment.user, size: 20) by
= user_avatar(user: deployment.user, size: 20)
.table-section.section-15{ role: 'gridcell' } .table-section.section-15{ role: 'gridcell' }
.table-mobile-header{ role: 'rowheader' } Created .table-mobile-header{ role: 'rowheader' } Created
......
...@@ -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