mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-16 12:16:09 +03:00
bf95c5b268
closes #3352 - adding a ```type``` attribute to buttons inside form in the settings section - scanning the rest of the project to find any other buttons w/a missing attribute
28 lines
871 B
Handlebars
28 lines
871 B
Handlebars
<header>
|
|
{{#link-to 'settings' class='button-back button'}}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=":js-button-active activeClass:button-delete inactiveClass:button-add activeClass:js-button-deactivate"}}>
|
|
{{buttonText}}
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</section>
|