discourse/app/assets/javascripts/admin/addon/templates/plugins.hbs
Jarek Radosz 16ea7ab248
DEV: Run angle-brackets codemod (#17286)
Co-authored-by: Peter Wagenet <peter.wagenet@gmail.com>
2022-06-30 12:30:50 +02:00

24 lines
691 B
Handlebars

<div class="admin-controls">
<div class="controls">
<DButton @action={{action "toggleMenu"}} @class="menu-toggle" @icon="bars" />
{{#if 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 adminRoutes as |route|}}
<NavItem @route={{route.full_location}} @label={{route.label}} />
{{/each}}
</ul>
</div>
<div class="admin-detail pull-left mobile-closed">
{{outlet}}
</div>