Commits

Anonymous committed e85f089 Draft

Simplify the templates

  • Participants
  • Parent commits 86aad8b

Comments (0)

Files changed (1)

 <script type="text/x-handlebars" data-template-name="builders" >
 {{controller.busyCount}} busy builders at the moment.
 <ul>
-  {{#each builder in controller}}
-  {{#with builder}}
+  {{#each controller}}
     <li {{bindAttr class="state"}}>{{name}}{{#unless
   isIdle}}(BUSY){{/unless}}</li>
-  {{/with}}
   {{/each}}
 </ul>
 </script>
 
+<script type="text/x-handlebars" data-template-name="slaves" >
+<ul>
+  {{#each controller}}
+    <li>{{name}}</li>
+  {{/each}}
+</ul>
+</script>
+
 
 
 </body> </html>