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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
b7deda94
Commit
b7deda94
authored
Nov 28, 2016
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
collapse nested if statement
parent
093dd5ce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
app/views/projects/ci/builds/_build.html.haml
app/views/projects/ci/builds/_build.html.haml
+2
-3
app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
.../generic_commit_statuses/_generic_commit_status.html.haml
+2
-3
No files found.
app/views/projects/ci/builds/_build.html.haml
View file @
b7deda94
...
...
@@ -91,8 +91,7 @@
%span
#{
time_ago_with_tooltip
(
build
.
finished_at
)
}
%td
.coverage
-
if
coverage
-
if
build
.
try
(
:coverage
)
-
if
coverage
&&
build
.
try
(
:coverage
)
#{
build
.
coverage
}
%
%td
...
...
app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
View file @
b7deda94
...
...
@@ -83,8 +83,7 @@
%span
#{
time_ago_with_tooltip
(
generic_commit_status
.
finished_at
)
}
%td
.coverage
-
if
coverage
-
if
generic_commit_status
.
try
(
:coverage
)
-
if
coverage
&&
generic_commit_status
.
try
(
:coverage
)
#{
generic_commit_status
.
coverage
}
%
%td
...
...
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