discourse/app/assets/javascripts/admin/addon/templates/plugins.hbs
Peter Wagenet 371bbadb92
No implicit this codemod (#17235)
* Run no-implicit-this codemod for app templates
* Run tagless-ember-components-codemod for plugins
* Turn on no-implicit-this lint
2022-07-05 19:41:31 +02:00

24 lines
701 B
Handlebars

<div class="admin-controls">
<div class="controls">
<DButton @action={{action "toggleMenu"}} @class="menu-toggle" @icon="bars" />
{{#if this.currentUser.admin}}
<DButton @label="admin.plugins.change_settings" @icon="cog" @class="btn-default settings-button" @action={{route-action "showSettings"}} />
{{/if}}
</div>
</div>
<div class="admin-nav pull-left">
<ul class="nav nav-stacked">
<NavItem @route="adminPlugins.index" @label="admin.plugins.title" />
{{#each this.adminRoutes as |route|}}
<NavItem @route={{route.full_location}} @label={{route.label}} />
{{/each}}
</ul>
</div>
<div class="admin-detail pull-left mobile-closed">
{{outlet}}
</div>