f6a7164d10
* Installs ember-page-title 5.x * Adds a page title to all template files that need one * Adds an assertion step to test the page titles
30 lines
714 B
Handlebars
30 lines
714 B
Handlebars
{{#if create }}
|
|
{{title 'New Namespace'}}
|
|
{{else}}
|
|
{{title 'Edit Namespace'}}
|
|
{{/if}}
|
|
{{#app-view class="nspace edit" loading=isLoading}}
|
|
{{#block-slot name='notification' as |status type|}}
|
|
{{partial 'dc/nspaces/notifications'}}
|
|
{{/block-slot}}
|
|
{{#block-slot name='breadcrumbs'}}
|
|
<ol>
|
|
<li><a data-test-back href={{href-to 'dc.nspaces'}}>All Namespaces</a></li>
|
|
</ol>
|
|
{{/block-slot}}
|
|
{{#block-slot name='header'}}
|
|
<h1>
|
|
{{#if create }}
|
|
New Namespace
|
|
{{else}}
|
|
Edit {{item.Name}}
|
|
{{/if}}
|
|
</h1>
|
|
{{/block-slot}}
|
|
{{#block-slot name='actions'}}
|
|
{{/block-slot}}
|
|
{{#block-slot name='content'}}
|
|
{{ partial 'dc/nspaces/form'}}
|
|
{{/block-slot}}
|
|
{{/app-view}}
|