summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-11-28 21:08:02 -0600
committerMike Greiling <mike@pixelcog.com>2016-11-29 12:55:08 -0600
commit093dd5cef8d5130101218ce258aceb92a9d60a6a (patch)
tree3d41ff69d5895faf55e7c68779878a6a2a53c483
parenta2ea78a09d689d2f53c22859f8304e6c1288bf17 (diff)
downloadgitlab-ce-093dd5cef8d5130101218ce258aceb92a9d60a6a.tar.gz
remove redundant if statement
-rw-r--r--app/views/projects/ci/builds/_build.html.haml2
-rw-r--r--app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml2
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)