Fix error in paths

This commit is contained in:
Katarzyna Kobierska 2016-09-08 10:26:16 +02:00
parent f341d95703
commit b902a96324

View file

@ -1,6 +1,4 @@
- admin = false unless admin - admin = false unless admin
- if admin
- project = build.project
%tr.build.commit %tr.build.commit
%td.status %td.status
@ -51,8 +49,8 @@
- if admin - if admin
%td %td
- if project - if build.project
= link_to project.name_with_namespace, admin_namespace_project_path(project.namespace, project) = link_to build.project.name_with_namespace, admin_namespace_project_path(build.project.namespace, build.project)
- if defined?(runner) && runner - if defined?(runner) && runner
%td %td
@ -61,8 +59,9 @@
- else - else
.light none .light none
%td - if defined?(stage) && stage
= build.stage %td
= build.stage
%td %td
= build.name = build.name