mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
28 lines
866 B
Handlebars
28 lines
866 B
Handlebars
<header>
|
|
{{#link-to 'settings' class='btn btn-default'}}Back{{/link-to}}
|
|
<h2 class="title">Apps</h2>
|
|
</header>
|
|
|
|
<section class="content settings-apps">
|
|
<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 type="button" {{action toggleApp this}} {{bind-attr class=":btn :js-button-active activeClass:btn-red inactiveClass:btn-green activeClass:js-button-deactivate"}}>
|
|
{{buttonText}}
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</section>
|