diff options
author | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-09-08 10:26:16 +0200 |
---|---|---|
committer | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-09-13 09:05:07 +0200 |
commit | b902a9632435ec7e4d4def609c7f0eaaf9d98535 (patch) | |
tree | aace32af73cd4a04e2464c55f4c4360cd2c36c69 /app | |
parent | f341d95703f4268e176f02aa9d923e7f2069d5c4 (diff) | |
download | gitlab-ce-b902a9632435ec7e4d4def609c7f0eaaf9d98535.tar.gz |
Fix error in paths
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/ci/builds/_build.html.haml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/app/views/projects/ci/builds/_build.html.haml b/app/views/projects/ci/builds/_build.html.haml index a5f38d0ce95..ecf15c77ad1 100644 --- a/app/views/projects/ci/builds/_build.html.haml +++ b/app/views/projects/ci/builds/_build.html.haml @@ -1,6 +1,4 @@ - admin = false unless admin -- if admin - - project = build.project %tr.build.commit %td.status @@ -51,8 +49,8 @@ - if admin %td - - if project - = link_to project.name_with_namespace, admin_namespace_project_path(project.namespace, project) + - if build.project + = link_to build.project.name_with_namespace, admin_namespace_project_path(build.project.namespace, build.project) - if defined?(runner) && runner %td @@ -61,8 +59,9 @@ - else .light none - %td - = build.stage + - if defined?(stage) && stage + %td + = build.stage %td = build.name |