Commit c28df601 authored by Filipa Lacerda's avatar Filipa Lacerda

Adds build column

parent 4508f85a
......@@ -29,9 +29,8 @@
width: 20, height: 20 }
%td
%a{ "v-if" => "!isFolder && model.last_deployment && model.last_deployment.deployable",
":class" => "build-link",
":href" => "" }
%a.build-link{ "v-if" => "!isFolder && model.last_deployment && model.last_deployment.deployable",
":href" => "'#{namespace_project_builds_path(@project.namespace, @project)}/' + model.last_deployment.deployable.id" }
{{model.last_deployment.deployable.name}} (## {{model.last_deployment.deployable.id}})
%td
......@@ -75,10 +74,9 @@
width: 20, height: 20 }
%td
%a{ "v-if" => " child.last_deployment && child.last_deployment.deployable",
":class" => "build-link",
":href" => "" }
{{chil.last_deployment.deployable.name}} (## {{child.last_deployment.deployable.id}})
%a.build-link{ "v-if" => "child.last_deployment && child.last_deployment.deployable",
":href" => "'#{namespace_project_builds_path(@project.namespace, @project)}/' + child.last_deployment.deployable.id" }
{{child.last_deployment.deployable.name}} (## {{child.last_deployment.deployable.id}})
%td
%a{ "v-if" => "child.last_deployment" }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment