open-nomad/ui/app/templates/jobs/job/versions.hbs
Michael Lange 7abf621441 On namespace change on a job detail page, redirect to /jobs
And reload jobs for the new namespace.
2017-10-23 17:42:36 -07:00

12 lines
423 B
Handlebars

{{#global-header class="page-header"}}
{{#each breadcrumbs as |breadcrumb|}}
{{#link-to params=breadcrumb.args class="breadcrumb"}}{{breadcrumb.label}}{{/link-to}}
{{/each}}
{{/global-header}}
{{#gutter-menu class="page-body" onNamespaceChange=(action "gotoJobs")}}
{{partial "jobs/job/subnav"}}
<section class="section">
{{job-versions-stream versions=versions verbose=true}}
</section>
{{/gutter-menu}}