mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 03:45:41 +03:00
refact: job-page/parameterized template to use contextual components
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
<JobPage::Parts::Body @job={{this.job}}>
|
||||
<JobPage::Parts::Error @errorMessage={{this.errorMessage}} @onDismiss={{action "clearErrorMessage"}} />
|
||||
|
||||
<JobPage::Parts::Title @job={{this.job}} @handleError={{action "handleError"}}>
|
||||
<span class="tag is-hollow">Parameterized</span>
|
||||
</JobPage::Parts::Title>
|
||||
|
||||
<JobPage::Parts::StatsBox @job={{this.job}} />
|
||||
|
||||
<JobPage::Parts::Summary @job={{this.job}} />
|
||||
<JobPage::Parts::Children
|
||||
@job={{this.job}}
|
||||
@sortProperty={{this.sortProperty}}
|
||||
@sortDescending={{this.sortDescending}}
|
||||
@currentPage={{this.currentPage}}
|
||||
@gotoJob={{this.gotoJob}} />
|
||||
|
||||
<JobPage::Parts::Meta @job={{this.job}} />
|
||||
</JobPage::Parts::Body>
|
||||
<JobPage @job={{@job}} as |jobPage|>
|
||||
<jobPage.ui.Body>
|
||||
<jobPage.ui.Error />
|
||||
<jobPage.ui.Title>
|
||||
<span class="tag is-hollow">
|
||||
Parameterized
|
||||
</span>
|
||||
</jobPage.ui.Title>
|
||||
<jobPage.ui.StatsBox />
|
||||
<jobPage.ui.Summary />
|
||||
<jobPage.ui.Children
|
||||
@sortProperty={{@sortProperty}}
|
||||
@sortDescending={{@sortDescending}}
|
||||
@currentPage={{@currentPage}}
|
||||
@gotoJob={{@gotoJob}}
|
||||
/>
|
||||
<jobPage.ui.Meta />
|
||||
</jobPage.ui.Body>
|
||||
</JobPage>
|
||||
Reference in New Issue
Block a user