Ghost/ghost/admin/templates/settings/apps.hbs

28 lines
842 B
Handlebars
Raw Normal View History

<header class="fade-in">
<button class="button-back">Back</button>
<h2 class="title">Apps</h2>
</header>
<section class="content 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>