2018-07-02 23:14:53 -04:00
|
|
|
<div class="admin-controls">
|
2023-12-12 07:09:05 -05:00
|
|
|
<HorizontalOverflowNav class="main-nav nav plugin-nav">
|
2022-06-30 06:30:50 -04:00
|
|
|
<NavItem @route="adminPlugins.index" @label="admin.plugins.title" />
|
2022-07-05 13:41:31 -04:00
|
|
|
{{#each this.adminRoutes as |route|}}
|
2024-03-12 23:15:12 -04:00
|
|
|
{{#if route.use_new_show_route}}
|
|
|
|
<NavItem
|
|
|
|
@route={{route.full_location}}
|
|
|
|
@label={{route.label}}
|
|
|
|
@routeParam={{route.location}}
|
|
|
|
/>
|
|
|
|
{{else}}
|
|
|
|
<NavItem @route={{route.full_location}} @label={{route.label}} />
|
|
|
|
{{/if}}
|
2015-02-06 17:32:59 -05:00
|
|
|
{{/each}}
|
2023-02-17 10:21:30 -05:00
|
|
|
</HorizontalOverflowNav>
|
2015-02-06 17:32:59 -05:00
|
|
|
</div>
|
|
|
|
|
2023-02-17 10:21:30 -05:00
|
|
|
<div class="admin-container">
|
2022-11-07 11:39:27 -05:00
|
|
|
{{#each this.brokenAdminRoutes as |route|}}
|
|
|
|
<div class="alert alert-error">
|
|
|
|
{{i18n "admin.plugins.broken_route" name=(i18n route.label)}}
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
|
2015-02-06 17:32:59 -05:00
|
|
|
{{outlet}}
|
|
|
|
</div>
|