BigW Consortium Gitlab

Commit aeacadb3 by Annabel Dunstone

Truncate build and stage names

parent a76864cc
...@@ -81,6 +81,7 @@ v 8.11.0 (unreleased) ...@@ -81,6 +81,7 @@ v 8.11.0 (unreleased)
- Speed up and reduce memory usage of Commit#repo_changes, Repository#expire_avatar_cache and IrkerWorker - Speed up and reduce memory usage of Commit#repo_changes, Repository#expire_avatar_cache and IrkerWorker
- Add unfold links for Side-by-Side view. !5415 (Tim Masliuchenko) - Add unfold links for Side-by-Side view. !5415 (Tim Masliuchenko)
- Adds support for pending invitation project members importing projects - Adds support for pending invitation project members importing projects
- Add pipeline visualization/graph on pipeline page
- Update devise initializer to turn on changed password notification emails. !5648 (tombell) - Update devise initializer to turn on changed password notification emails. !5648 (tombell)
- Avoid to show the original password field when password is automatically set. !5712 (duduribeiro) - Avoid to show the original password field when password is automatically set. !5712 (duduribeiro)
- Fix importing GitLab projects with an invalid MR source project - Fix importing GitLab projects with an invalid MR source project
......
...@@ -258,6 +258,10 @@ ...@@ -258,6 +258,10 @@
.stage-name { .stage-name {
margin-bottom: 15px; margin-bottom: 15px;
font-weight: bold; font-weight: bold;
width: 150px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
.build { .build {
...@@ -266,12 +270,15 @@ ...@@ -266,12 +270,15 @@
padding: 6px 10px; padding: 6px 10px;
border-radius: 30px; border-radius: 30px;
width: 150px; width: 150px;
// TODO truncate text within .build div; not on build div itself
// white-space: nowrap;
// overflow: hidden;
// text-overflow: ellipsis;
margin-bottom: 10px; margin-bottom: 10px;
.build-content {
width: 130px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
svg { svg {
position: relative; position: relative;
top: 2px; top: 2px;
......
...@@ -14,9 +14,10 @@ ...@@ -14,9 +14,10 @@
%ul %ul
- statuses.each do |build| - statuses.each do |build|
%li.build %li.build
%span{class: "ci-status-link ci-status-icon-#{status}"} .build-content
= ci_icon_for_status(status) %span{class: "ci-status-link ci-status-icon-#{status}"}
= build.name = ci_icon_for_status(status)
= build.name
.row-content-block.build-content.middle-block .row-content-block.build-content.middle-block
.pull-right .pull-right
...@@ -55,16 +56,16 @@ ...@@ -55,16 +56,16 @@
.bs-callout.bs-callout-warning .bs-callout.bs-callout-warning
\.gitlab-ci.yml not found in this commit \.gitlab-ci.yml not found in this commit
-# .table-holder.pipeline-holder .table-holder.pipeline-holder
-# %table.table.builds.pipeline %table.table.builds.pipeline
-# %thead %thead
-# %tr %tr
-# %th Status %th Status
-# %th Build ID %th Build ID
-# %th Name %th Name
-# %th %th
-# - if pipeline.project.build_coverage_enabled? - if pipeline.project.build_coverage_enabled?
-# %th Coverage %th Coverage
-# %th %th
-# - pipeline.statuses.stages.each do |stage| - pipeline.statuses.stages.each do |stage|
-# = render 'projects/commit/ci_stage', stage: stage, statuses: pipeline.statuses.where(stage: stage) = render 'projects/commit/ci_stage', stage: stage, statuses: pipeline.statuses.where(stage: stage)
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