mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
* Multi-line variable values and helios upgrades generally * Variables page titles and actions restyle * Hacky fix to keyboard shortcut otherwise bumping space on shift * Related entities heliosified * Namespace and path fields heliosed * Paths table heliosified * Variable view table * Fixups after design discussion * Monospaced editing * De-commented template placeholder * Acceptance tests updated for helios components across variables * Tests helios'd in variable-form-test * PR suggestions
21 lines
993 B
Handlebars
21 lines
993 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
~}}
|
|
|
|
<Hds::Alert @type="inline" @color="highlight" @icon="info" class="related-entities notification" as |A|>
|
|
<A.Title>Automatically-accessible variable</A.Title>
|
|
<A.Description>
|
|
This variable {{#if @new}}will be{{else}}is{{/if}} accessible by
|
|
{{#if @task}}
|
|
task <strong>{{@task}}</strong> in group <Hds::Link::Inline @route="jobs.job.task-group" @models={{array (concat @job "@" @namespace) @group}} @icon="external-link">{{@group}}</Hds::Link::Inline>
|
|
{{else if @group}}
|
|
group <Hds::Link::Inline @route="jobs.job.task-group" @models={{array (concat @job "@" @namespace) @group}} @icon="external-link">{{@group}}</Hds::Link::Inline>
|
|
{{else if @job}}
|
|
job <Hds::Link::Inline @route="jobs.job" @model={{concat @job "@" @namespace}} @icon="external-link">{{@job}}</Hds::Link::Inline>
|
|
{{else}}
|
|
all nomad jobs in this namespace
|
|
{{/if}}
|
|
</A.Description>
|
|
</Hds::Alert>
|