diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-11-28 21:08:02 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-11-29 12:55:08 -0600 |
commit | 093dd5cef8d5130101218ce258aceb92a9d60a6a (patch) | |
tree | 3d41ff69d5895faf55e7c68779878a6a2a53c483 /app | |
parent | a2ea78a09d689d2f53c22859f8304e6c1288bf17 (diff) | |
download | gitlab-ce-093dd5cef8d5130101218ce258aceb92a9d60a6a.tar.gz |
remove redundant if statement
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/ci/builds/_build.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/app/views/projects/ci/builds/_build.html.haml b/app/views/projects/ci/builds/_build.html.haml index 8d9c15d0dc6..33b4e9329a2 100644 --- a/app/views/projects/ci/builds/_build.html.haml +++ b/app/views/projects/ci/builds/_build.html.haml @@ -66,8 +66,6 @@ %td - if build.project = link_to build.project.name_with_namespace, admin_namespace_project_path(build.project.namespace, build.project) - - - if admin %td - if build.try(:runner) = runner_link(build.runner) diff --git a/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml b/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml index 4fff082202d..131883b8106 100644 --- a/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml +++ b/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml @@ -58,8 +58,6 @@ %td - 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) - - - if admin %td - if generic_commit_status.try(:runner) = runner_link(generic_commit_status.runner) |