BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
9cb3fcda
Commit
9cb3fcda
authored
Aug 09, 2016
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spacing and vertical alignment on build status icon on commits page
parent
6df51b35
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
1 deletion
+23
-1
CHANGELOG
CHANGELOG
+1
-0
commit.scss
app/assets/stylesheets/pages/commit.scss
+20
-0
_commit_box.html.haml
app/views/projects/commit/_commit_box.html.haml
+2
-1
No files found.
CHANGELOG
View file @
9cb3fcda
...
...
@@ -52,6 +52,7 @@ v 8.11.0 (unreleased)
- Gitlab::Metrics.current_transaction needs to be public for RailsQueueDuration
- Fix search for notes which belongs to deleted objects
- Add GitLab Workhorse version to admin dashboard (Katarzyna Kobierska Ula Budziszewska)
- Fix spacing and vertical alignment on build status icon on commits page (ClemMakesApps)
- Allow branch names ending with .json for graph and network page !5579 (winniehell)
- Add the `sprockets-es6` gem
- Multiple trigger variables show in separate lines (Katarzyna Kobierska Ula Budziszewska)
...
...
app/assets/stylesheets/pages/commit.scss
View file @
9cb3fcda
...
...
@@ -66,6 +66,26 @@
margin-left
:
8px
;
}
}
.ci-status-link
{
margin-left
:
2px
;
svg
{
vertical-align
:
middle
;
}
.ci-status-label
{
display
:
inline-block
;
}
&
:hover
{
text-decoration
:
none
;
.ci-status-label
{
text-decoration
:
underline
;
}
}
}
}
.ci-status-link
{
...
...
app/views/projects/commit/_commit_box.html.haml
View file @
9cb3fcda
...
...
@@ -56,7 +56,8 @@
=
pluralize
(
@commit
.
pipelines
.
count
,
'pipeline'
)
=
link_to
builds_namespace_project_commit_path
(
@project
.
namespace
,
@project
,
@commit
.
id
),
class:
"ci-status-link ci-status-icon-
#{
@commit
.
status
}
"
do
=
ci_icon_for_status
(
@commit
.
status
)
=
ci_label_for_status
(
@commit
.
status
)
%span
.ci-status-label
=
ci_label_for_status
(
@commit
.
status
)
-
if
@commit
.
pipelines
.
duration
in
=
time_interval_in_words
@commit
.
pipelines
.
duration
...
...
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