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
01f634d3
Commit
01f634d3
authored
Feb 28, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the size of CI icon in MR heading [ci skip]
parent
3acf59df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
merge_requests.scss
app/assets/stylesheets/pages/merge_requests.scss
+5
-0
_heading.html.haml
app/views/projects/merge_requests/widget/_heading.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/merge_requests.scss
View file @
01f634d3
...
@@ -102,6 +102,11 @@
...
@@ -102,6 +102,11 @@
@media
(
max-width
:
$screen-xs-max
)
{
@media
(
max-width
:
$screen-xs-max
)
{
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
}
}
.ci-status-icon
>
.icon-link
>
svg
{
width
:
22px
;
height
:
22px
;
}
}
}
.mr-widget-body
,
.mr-widget-body
,
...
...
app/views/projects/merge_requests/widget/_heading.html.haml
View file @
01f634d3
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.mr-widget-heading
.mr-widget-heading
-
%w[success success_with_warnings skipped canceled failed running pending]
.
each
do
|
status
|
-
%w[success success_with_warnings skipped canceled failed running pending]
.
each
do
|
status
|
.ci_widget
{
class:
"ci-#{status}"
,
style:
(
"display:none"
unless
@pipeline
.
status
==
status
)
}
.ci_widget
{
class:
"ci-#{status}"
,
style:
(
"display:none"
unless
@pipeline
.
status
==
status
)
}
%div
{
class:
"ci-status-icon-#{status}"
}
%div
{
class:
"ci-status-icon
ci-status-icon
-#{status}"
}
=
link_to
namespace_project_pipeline_path
(
@pipeline
.
project
.
namespace
,
@pipeline
.
project
,
@pipeline
.
id
),
class:
'icon-link'
do
=
link_to
namespace_project_pipeline_path
(
@pipeline
.
project
.
namespace
,
@pipeline
.
project
,
@pipeline
.
id
),
class:
'icon-link'
do
=
ci_icon_for_status
(
status
)
=
ci_icon_for_status
(
status
)
%span
%span
...
...
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