From 5f1df8a0a0a431769807f13375303d7d66e78ae1 Mon Sep 17 00:00:00 2001 From: dharini Date: Tue, 15 Feb 2022 16:12:05 -0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20show=20latest=20ip=20ad?= =?UTF-8?q?dresses?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addons/core/translations/en-us.yaml | 1 + .../app/components/form/host/aws/index.hbs | 17 +++++++++----- .../app/components/form/host/azure/index.hbs | 23 ++++++++++++------- 3 files changed, 27 insertions(+), 14 deletions(-) diff --git a/addons/core/translations/en-us.yaml b/addons/core/translations/en-us.yaml index 73a720d62..12232d8a6 100644 --- a/addons/core/translations/en-us.yaml +++ b/addons/core/translations/en-us.yaml @@ -30,6 +30,7 @@ titles: label: Label value: Value no-results: No Results + ip-addresses: Latest IP Addresses descriptions: empty-set: There are no items to display yet. You may be able to add items or try back later. origin-initialization: To get started, please enter your origin URL diff --git a/ui/admin/app/components/form/host/aws/index.hbs b/ui/admin/app/components/form/host/aws/index.hbs index 8e6a2cc08..1ceea8ff7 100644 --- a/ui/admin/app/components/form/host/aws/index.hbs +++ b/ui/admin/app/components/form/host/aws/index.hbs @@ -71,13 +71,18 @@ + {{#each @model.ip_addresses as |ip_address|}} - + + <:title>{{t 'titles.ip-addresses'}} + <:body> + + + {{/each}} {{#if (can 'save model' @model)}} - {{#each @model.ip_addresses as |ip_address|}} - - {{/each}} + + + <:title>{{t 'titles.ip-addresses'}} + <:body> + {{#each @model.ip_addresses as |ip_address|}} + + + {{/each}} + + + {{#if (can 'save model' @model)}}