Commit c28df601 authored by Filipa Lacerda's avatar Filipa Lacerda

Adds build column

parent 4508f85a
...@@ -29,9 +29,8 @@ ...@@ -29,9 +29,8 @@
width: 20, height: 20 } width: 20, height: 20 }
%td %td
%a{ "v-if" => "!isFolder && model.last_deployment && model.last_deployment.deployable", %a.build-link{ "v-if" => "!isFolder && model.last_deployment && model.last_deployment.deployable",
":class" => "build-link", ":href" => "'#{namespace_project_builds_path(@project.namespace, @project)}/' + model.last_deployment.deployable.id" }
":href" => "" }
{{model.last_deployment.deployable.name}} (## {{model.last_deployment.deployable.id}}) {{model.last_deployment.deployable.name}} (## {{model.last_deployment.deployable.id}})
%td %td
...@@ -75,10 +74,9 @@ ...@@ -75,10 +74,9 @@
width: 20, height: 20 } width: 20, height: 20 }
%td %td
%a{ "v-if" => " child.last_deployment && child.last_deployment.deployable", %a.build-link{ "v-if" => "child.last_deployment && child.last_deployment.deployable",
":class" => "build-link", ":href" => "'#{namespace_project_builds_path(@project.namespace, @project)}/' + child.last_deployment.deployable.id" }
":href" => "" } {{child.last_deployment.deployable.name}} (## {{child.last_deployment.deployable.id}})
{{chil.last_deployment.deployable.name}} (## {{child.last_deployment.deployable.id}})
%td %td
%a{ "v-if" => "child.last_deployment" } %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