mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 01:45:44 +03:00
* Related entities scaffolded * Added hint on edit * Re-classic'd * Dont create entities when path goes beyond task level * only show the related entities hint for new vars, not edited ones * Unit tests for pathLinkedEntities * Acceptance tests for linked entities * Add hint on creation * Will be vs Is on @new boolean flag * Link styles and namespaces on links * Unused component class * Delog * Defensive shouldShowLinked * Properly instantiating the accessibilty check test
14 lines
746 B
Handlebars
14 lines
746 B
Handlebars
<p class="related-entities notification">
|
|
<FlightIcon @name="info-fill" @color="var(--blue)" />
|
|
<span>
|
|
This secure variable {{#if @new}}will be{{else}}is{{/if}} accessible by
|
|
{{#if @task}}
|
|
task <strong>{{@task}}</strong> in group <LinkTo @route="jobs.job.task-group" @models={{array (concat @job "@" @namespace) @group}}>{{@group}} <FlightIcon @name="external-link" /></LinkTo>
|
|
{{else if @group}}
|
|
group <LinkTo @route="jobs.job.task-group" @models={{array (concat @job "@" @namespace) @group}}>{{@group}} <FlightIcon @name="external-link" /></LinkTo>
|
|
{{else if @job}}
|
|
job <LinkTo @route="jobs.job" @model={{concat @job "@" @namespace}}>{{@job}} <FlightIcon @name="external-link" /></LinkTo><
|
|
{{/if}}
|
|
</span>
|
|
</p>
|