Skip to content

Commit

Permalink
Merge pull request #207 from aalves08/206-target-clusters-warn
Browse files Browse the repository at this point in the history
 Add copy to update group target clusters to warn users about clusters that are already targeted won't show upadd note
  • Loading branch information
aalves08 authored Jul 22, 2024
2 parents 0f27c03 + f6b78df commit dd9351b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkg/elemental/edit/elemental.cattle.io.managedosimage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export default {
<h3>{{ t('elemental.osimage.create.spec') }}</h3>
<LabeledSelect
v-model="clusterTargets"
class="mb-20"
class="mb-10"
data-testid="cluster-target"
:label="t('elemental.osimage.create.targetCluster.label')"
:placeholder="t('elemental.osimage.create.targetCluster.placeholder', null, true)"
Expand All @@ -180,6 +180,7 @@ export default {
:multiple="true"
@input="handleClusterTargetChange($event)"
/>
<p v-clean-html="t('elemental.osimage.create.userWarning',{}, true)" class="user-warn mb-20"></p>
<RadioGroup
v-model="useManagedOsImages"
class="mb-20"
Expand Down Expand Up @@ -215,3 +216,10 @@ export default {
</div>
</CruResource>
</template>
<style lang="scss" scoped>
.user-warn {
font-size: 13px;
color: var(--darker);
}
</style>
1 change: 1 addition & 0 deletions pkg/elemental/l10n/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ elemental:
elementalClusters: Manage Elemental Clusters
osimage:
create:
userWarning: "<b>Note:</b> Elemental clusters that have been targeted by another OS Group won't show up in the Target Cluster list unless that OS Group is deleted"
configuration: Configuration
spec: Spec
name:
Expand Down

0 comments on commit dd9351b

Please sign in to comment.