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
Jérome Perrin
gitlab-ce
Commits
078a4a7c
Commit
078a4a7c
authored
Jul 04, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'improve-ci-widget-ui' into 'master'
Improve ci widget ui See merge request !943
parents
bd165421
8395b278
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/views/projects/merge_requests/show/_mr_ci.html.haml
app/views/projects/merge_requests/show/_mr_ci.html.haml
+4
-4
No files found.
app/views/projects/merge_requests/show/_mr_ci.html.haml
View file @
078a4a7c
-
if
@commits
.
any?
.ci_widget.ci-success
{
style:
"display:none"
}
%i
.icon-ok
%s
trong
CI build passed
%s
pan
CI build passed
for
#{
@merge_request
.
last_commit_short_sha
}
.
=
link_to
"Build page"
,
ci_build_details_path
(
@merge_request
)
.ci_widget.ci-failed
{
style:
"display:none"
}
%i
.icon-remove
%s
trong
CI build failed
%s
pan
CI build failed
for
#{
@merge_request
.
last_commit_short_sha
}
.
=
link_to
"Build page"
,
ci_build_details_path
(
@merge_request
)
-
[
:running
,
:pending
].
each
do
|
status
|
.ci_widget
{
class:
"ci-#{status}"
,
style:
"display:none"
}
%i
.icon-time
%s
trong
CI build
#{
status
}
%s
pan
CI build
#{
status
}
for
#{
@merge_request
.
last_commit_short_sha
}
.
=
link_to
"Build page"
,
ci_build_details_path
(
@merge_request
)
...
...
@@ -26,4 +26,4 @@
.ci_widget.ci-error
{
style:
"display:none"
}
%i
.icon-remove
%s
trong
Cannot connect to the CI server. Please check your settings and try again.
%s
pan
Cannot connect to the CI server. Please check your settings and try again.
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