fix: 🐛 Fix HDS labels and helpers in host sets (#2266)

* fix: 🐛 Fix HDS labels and helpers in host sets
This commit is contained in:
Zhihe Li authored and GitHub committed 2024-04-22 20:56:26 -04:00
1 parent 4274a045f7
commit 19908768a4
3 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -168,7 +168,7 @@ ip_addresses:
help: Read-only public and private IP addresses given by the plugin host catalog provider
sync-interval:
label: Sync Interval
help: Optional. Number of seconds between the time Boundary syncs hosts in this set.
help: Number of seconds between the time Boundary syncs hosts in this set.
tags:
label: Tags
secret-editor:
@@ -97,7 +97,11 @@
</:field>
</Form::Field::ListWrapper>
<Form::Field::ListWrapper @layout='horizontal' @disabled={{form.disabled}}>
<Form::Field::ListWrapper
@layout='horizontal'
@isOptional={{true}}
@disabled={{form.disabled}}
>
<:fieldset as |F|>
<F.Legend>
{{t 'resources.host-set.form.filter.label'}}
@@ -127,13 +131,14 @@
name='sync_interval_seconds'
@value={{@model.sync_interval_seconds}}
@isInvalid={{@model.errors.sync_interval_seconds}}
@isOptional={{true}}
disabled={{form.disabled}}
{{on 'input' (set-from-event @model 'sync_interval_seconds')}}
as |F|
>
<F.Label>{{t 'form.name.label'}}</F.Label>
<F.Label>{{t 'form.sync-interval.label'}}</F.Label>
<F.HelperText>
{{t 'form.name.help'}}
{{t 'form.sync-interval.help'}}
<Hds::Link::Inline @href={{doc-url 'host-set.sync-interval-seconds'}}>
{{t 'actions.learn-more'}}
</Hds::Link::Inline>
@@ -123,13 +123,14 @@
name='sync_interval_seconds'
@value={{@model.sync_interval_seconds}}
@isInvalid={{@model.errors.sync_interval_seconds}}
@isOptional={{true}}
disabled={{form.disabled}}
{{on 'input' (set-from-event @model 'sync_interval_seconds')}}
as |F|
>
<F.Label>{{t 'form.name.label'}}</F.Label>
<F.Label>{{t 'form.sync-interval.label'}}</F.Label>
<F.HelperText>
{{t 'form.name.help'}}
{{t 'form.sync-interval.help'}}
<Hds::Link::Inline @href={{doc-url 'host-set.sync-interval-seconds'}}>
{{t 'actions.learn-more'}}
</Hds::Link::Inline>