2020-04-14 02:18:49 -04:00
|
|
|
<div class="admin-controls">
|
|
|
|
<div class="controls">
|
2019-01-10 05:06:01 -05:00
|
|
|
{{d-button action=(action "toggleMenu") class="menu-toggle" icon="bars"}}
|
2018-07-02 23:14:53 -04:00
|
|
|
|
2020-04-13 11:17:20 -04:00
|
|
|
{{#if currentUser.admin}}
|
|
|
|
{{d-button
|
|
|
|
label="admin.plugins.change_settings"
|
|
|
|
icon="cog"
|
|
|
|
class="btn-default settings-button"
|
|
|
|
action=(route-action "showSettings")
|
|
|
|
}}
|
|
|
|
{{/if}}
|
2018-07-02 23:14:53 -04:00
|
|
|
</div>
|
2020-04-13 11:17:20 -04:00
|
|
|
</div>
|
2018-07-02 23:14:53 -04:00
|
|
|
|
2015-02-06 17:32:59 -05:00
|
|
|
<div class="admin-nav pull-left">
|
|
|
|
<ul class="nav nav-stacked">
|
2020-04-14 02:18:49 -04:00
|
|
|
{{nav-item route="adminPlugins.index" label="admin.plugins.title"}}
|
2015-02-06 17:32:59 -05:00
|
|
|
|
2016-04-29 17:29:41 -04:00
|
|
|
{{#each adminRoutes as |route|}}
|
2015-07-11 08:09:12 -04:00
|
|
|
{{nav-item route=route.full_location label=route.label}}
|
2015-02-06 17:32:59 -05:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2018-07-02 23:14:53 -04:00
|
|
|
<div class="admin-detail pull-left mobile-closed">
|
2015-02-06 17:32:59 -05:00
|
|
|
{{outlet}}
|
|
|
|
</div>
|
2018-07-02 23:14:53 -04:00
|
|
|
|
|
|
|
<div class="clearfix"></div>
|