mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 20:55:25 +08:00
18 lines
546 B
Handlebars
18 lines
546 B
Handlebars
<div class="admin-controls">
|
|
<HorizontalOverflowNav class="main-nav nav plugin-nav">
|
|
<NavItem @route="adminPlugins.index" @label="admin.plugins.title" />
|
|
{{#each this.adminRoutes as |route|}}
|
|
<NavItem @route={{route.full_location}} @label={{route.label}} />
|
|
{{/each}}
|
|
</HorizontalOverflowNav>
|
|
</div>
|
|
|
|
<div class="admin-container">
|
|
{{#each this.brokenAdminRoutes as |route|}}
|
|
<div class="alert alert-error">
|
|
{{i18n "admin.plugins.broken_route" name=(i18n route.label)}}
|
|
</div>
|
|
{{/each}}
|
|
|
|
{{outlet}}
|
|
</div> |