mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
51c31951e8
No Issue. - Outlet names must be quoted. - {{#each}} helper will no longer implicitly switch context. Change usage to {{#each foo in bar}}.
28 lines
927 B
Handlebars
28 lines
927 B
Handlebars
<header class="settings-view-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 app in model itemController="settings/app"}}
|
|
<tr>
|
|
<td>
|
|
{{#if app.package}}{{app.package.name}} - {{app.package.version}}{{else}}{{app.name}} - package.json missing :({{/if}}
|
|
</td>
|
|
<td>
|
|
<button type="button" {{action toggleApp app}} {{bind-attr class=":btn :js-button-active activeClass:btn-red inactiveClass:btn-green activeClass:js-button-deactivate"}}>
|
|
{{app.buttonText}}
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</section>
|