travis-web/assets/scripts/app/templates/env_vars.hbs
2014-08-20 12:45:04 +02:00

20 lines
548 B
Handlebars

{{outlet}}
<ul class="env-vars">
{{#each controller itemController="envVar"}}
{{#if isEditing}}
{{partial 'env_vars/form'}}
{{else}}
<li class="env-var">
<span class="name">{{name}}</span>
<span class="equals">=</span>
<span class="value value-display">{{value}}</span>
<a href="#" class="edit-var" {{action "edit"}}>Edit</a>
<a href="#" {{action "delete"}} {{bind-attr class=":delete-var isDeleting:deleting"}}>
Delete
</a>
</li>
{{/if}}
{{/each}}
</ul>