2022-03-15 12:58:14 +00:00
|
|
|
<Route
|
|
|
|
@name={{routeName}}
|
|
|
|
as |route|>
|
|
|
|
<AppView>
|
|
|
|
<BlockSlot @name="header">
|
|
|
|
<h1>
|
|
|
|
<route.Title @title={{compute (fn route.t 'title')}} />
|
|
|
|
</h1>
|
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="toolbar">
|
|
|
|
</BlockSlot>
|
2022-04-04 08:45:03 +00:00
|
|
|
<BlockSlot @name="nav">
|
|
|
|
{{#if false}}
|
2022-03-15 12:58:14 +00:00
|
|
|
<TabNav @items={{
|
|
|
|
compact
|
|
|
|
(array
|
|
|
|
(hash
|
|
|
|
label=(compute (fn route.t 'serverstatus.title'))
|
|
|
|
href=(href-to "dc.show.serverstatus")
|
|
|
|
selected=(is-href "dc.show.serverstatus")
|
|
|
|
)
|
2022-04-04 08:45:03 +00:00
|
|
|
(if false
|
2022-03-15 12:58:14 +00:00
|
|
|
(hash
|
2022-04-04 08:45:03 +00:00
|
|
|
label=(compute (fn route.t 'cataloghealth.title'))
|
|
|
|
href=(href-to 'dc.show.cataloghealth')
|
|
|
|
selected=(is-href 'dc.show.cataloghealth')
|
2022-03-15 12:58:14 +00:00
|
|
|
)
|
2022-04-04 08:45:03 +00:00
|
|
|
'')
|
|
|
|
(if (can 'read license')
|
2022-03-15 12:58:14 +00:00
|
|
|
(hash
|
|
|
|
label=(compute (fn route.t 'license.title'))
|
|
|
|
href=(href-to 'dc.show.license')
|
|
|
|
selected=(is-href 'dc.show.license')
|
|
|
|
)
|
|
|
|
)
|
|
|
|
'')
|
|
|
|
}}/>
|
2022-04-04 08:45:03 +00:00
|
|
|
{{/if}}
|
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="content">
|
|
|
|
<Outlet
|
|
|
|
@name={{routeName}}
|
|
|
|
@model={{route.model}}
|
|
|
|
as |o|>
|
|
|
|
{{outlet}}
|
|
|
|
</Outlet>
|
2022-03-15 12:58:14 +00:00
|
|
|
</BlockSlot>
|
|
|
|
|
|
|
|
</AppView>
|
|
|
|
</Route>
|