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
Boxiang Sun
gitlab-ce
Commits
093dd5ce
Commit
093dd5ce
authored
Nov 28, 2016
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove redundant if statement
parent
a2ea78a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
app/views/projects/ci/builds/_build.html.haml
app/views/projects/ci/builds/_build.html.haml
+0
-2
app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
.../generic_commit_statuses/_generic_commit_status.html.haml
+0
-2
No files found.
app/views/projects/ci/builds/_build.html.haml
View file @
093dd5ce
...
@@ -66,8 +66,6 @@
...
@@ -66,8 +66,6 @@
%td
%td
-
if
build
.
project
-
if
build
.
project
=
link_to
build
.
project
.
name_with_namespace
,
admin_namespace_project_path
(
build
.
project
.
namespace
,
build
.
project
)
=
link_to
build
.
project
.
name_with_namespace
,
admin_namespace_project_path
(
build
.
project
.
namespace
,
build
.
project
)
-
if
admin
%td
%td
-
if
build
.
try
(
:runner
)
-
if
build
.
try
(
:runner
)
=
runner_link
(
build
.
runner
)
=
runner_link
(
build
.
runner
)
...
...
app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
View file @
093dd5ce
...
@@ -58,8 +58,6 @@
...
@@ -58,8 +58,6 @@
%td
%td
-
if
generic_commit_status
.
project
-
if
generic_commit_status
.
project
=
link_to
generic_commit_status
.
project
.
name_with_namespace
,
admin_namespace_project_path
(
generic_commit_status
.
project
.
namespace
,
generic_commit_status
.
project
)
=
link_to
generic_commit_status
.
project
.
name_with_namespace
,
admin_namespace_project_path
(
generic_commit_status
.
project
.
namespace
,
generic_commit_status
.
project
)
-
if
admin
%td
%td
-
if
generic_commit_status
.
try
(
:runner
)
-
if
generic_commit_status
.
try
(
:runner
)
=
runner_link
(
generic_commit_status
.
runner
)
=
runner_link
(
generic_commit_status
.
runner
)
...
...
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