Ghost/ghost/admin/templates/settings/apps.hbs
Hannah Wolfe 999aea27e5 Adding more ember admin tests
- improving the implementation of thenOpenAndWaitForPageLoad
- adding a class into the settings templates to more easily test which pane we are on
- adding more, and updating more of the settings tests
- added the editor tests
2014-06-23 15:53:31 +01:00

28 lines
856 B
Handlebars

<header class="fade-in">
<button class="button-back">Back</button>
<h2 class="title">Apps</h2>
</header>
<section class="content settings-apps fade-in">
<table class="js-apps">
<thead>
<th>App name</th>
<th>Status</th>
</thead>
<tbody>
{{#each itemController="settings/app"}}
<tr>
<td>
{{#if package}}{{package.name}} - {{package.version}}{{else}}{{name}} - package.json missing :({{/if}}
</td>
<td>
<button {{action toggleApp this}} {{bind-attr class=":js-button-active activeClass:button-delete inactiveClass:button-add activeClass:js-button-deactivate"}}>
{{buttonText}}
</button>
</td>
</tr>
{{/each}}
</tbody>
</table>
</section>