2024-03-21 11:42:06 +08:00
|
|
|
{{#if this.showTopNav}}
|
|
|
|
<div class="admin-controls">
|
|
|
|
<HorizontalOverflowNav class="main-nav nav plugin-nav">
|
|
|
|
<NavItem @route="adminPlugins.index" @label="admin.plugins.title" />
|
|
|
|
{{#each this.adminRoutes as |route|}}
|
|
|
|
{{#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}}
|
|
|
|
{{/each}}
|
|
|
|
</HorizontalOverflowNav>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2015-02-07 06:32:59 +08:00
|
|
|
|
2023-02-17 23:21:30 +08:00
|
|
|
<div class="admin-container">
|
2022-11-08 00:39:27 +08:00
|
|
|
{{#each this.brokenAdminRoutes as |route|}}
|
|
|
|
<div class="alert alert-error">
|
|
|
|
{{i18n "admin.plugins.broken_route" name=(i18n route.label)}}
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
|
2015-02-07 06:32:59 +08:00
|
|
|
{{outlet}}
|
|
|
|
</div>
|