mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
This updates to Ember 3.16 but leaves Ember Data at 3.12 so we don’t need to use the model fragments beta. It can be reviewed on a commit-by-commit basis: blueprint updates, fixes for test failures, and the removal of now-deprecated partials. It’s not a true update to Octane as that would involve turning on template-only components by default, which breaks various things. We can accomplish that separately and then add the edition setting to package.json.
23 lines
698 B
Handlebars
23 lines
698 B
Handlebars
{{title "Job " job.name " definition"}}
|
|
<JobSubnav @job={{job}} />
|
|
<section class="section">
|
|
{{#unless isEditing}}
|
|
<div class="boxed-section">
|
|
<div class="boxed-section-head">
|
|
Job Definition
|
|
<button class="button is-light is-compact pull-right" type="button" onclick={{action edit}} data-test-edit-job>Edit</button>
|
|
</div>
|
|
<div class="boxed-section-body is-full-bleed">
|
|
<JsonViewer data-test-definition-view @json={{definition}} />
|
|
</div>
|
|
</div>
|
|
{{else}}
|
|
<JobEditor
|
|
@job={{job}}
|
|
@cancelable={{true}}
|
|
@context="edit"
|
|
@onCancel={{action onCancel}}
|
|
@onSubmit={{action onSubmit}} />
|
|
{{/unless}}
|
|
</section>
|