Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
d7b3b15f
Commit
d7b3b15f
authored
Aug 09, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Truncate build and stage names
parent
1b583583
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
18 deletions
+29
-18
CHANGELOG
CHANGELOG
+1
-0
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+11
-4
app/views/projects/commit/_pipeline.html.haml
app/views/projects/commit/_pipeline.html.haml
+17
-14
No files found.
CHANGELOG
View file @
d7b3b15f
...
@@ -108,6 +108,7 @@ v 8.11.0 (unreleased)
...
@@ -108,6 +108,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
...
...
app/assets/stylesheets/pages/pipelines.scss
View file @
d7b3b15f
...
@@ -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
;
...
...
app/views/projects/commit/_pipeline.html.haml
View file @
d7b3b15f
.row-content-block.white
.row-content-block.white
.pipeline-visualization
.pipeline-visualization
%ul
.stage-column-list
-
pipeline
.
statuses
.
stages
.
each
do
|
stage
|
-
pipeline
.
statuses
.
stages
.
each
do
|
stage
|
-
statuses
=
pipeline
.
statuses
.
where
(
stage:
stage
)
-
statuses
=
pipeline
.
statuses
.
where
(
stage:
stage
)
-
status
=
statuses
.
latest
.
status
-
status
=
statuses
.
latest
.
status
.stage-column
%li
.stage-column
.stage-name
.stage-name
%a
{
name:
stage
}
%a
{
name:
stage
}
-
if
stage
-
if
stage
=
stage
.
titleize
=
stage
.
titleize
.builds-container
.builds-container
%ul
-
statuses
.
each
do
|
build
|
-
statuses
.
each
do
|
build
|
.build
%li
.build
.build-content
%span
{
class:
"ci-status-link ci-status-icon-#{status}"
}
%span
{
class:
"ci-status-link ci-status-icon-#{status}"
}
=
ci_icon_for_status
(
status
)
=
ci_icon_for_status
(
status
)
=
build
.
name
=
build
.
name
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment