mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
3b5c7f634b
- remove `bind-attr` all over the place
28 lines
1020 B
Handlebars
28 lines
1020 B
Handlebars
<header class="settings-view-header">
|
|
{{#link-to "settings" class="btn btn-default btn-back"}}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 appController in model itemController="settings/app"}}
|
|
<tr>
|
|
<td>
|
|
{{#if appController.model.package}}{{appController.model.package.name}} - {{appController.model.package.version}}{{else}}{{appController.model.name}} - package.json missing :({{/if}}
|
|
</td>
|
|
<td>
|
|
<button type="button" {{action toggleApp appController}} class="btn js-button-active {{if activeClass 'btn-red js-button-deactivate'}} {{if inactiveClass 'btn-green'}}">
|
|
{{appController.buttonText}}
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</section>
|