From 6d358a565fc8b9a2cb12ca642585d8cdc9a07dd3 Mon Sep 17 00:00:00 2001 From: dharini Date: Tue, 15 Feb 2022 14:05:59 -0800 Subject: [PATCH 1/3] =?UTF-8?q?chore:=20=F0=9F=A4=96=20show=20ip=5Faddress?= =?UTF-8?q?es=20in=20host=20aws=20and=20azure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/admin/app/components/form/host/aws/index.hbs | 9 ++++++++- ui/admin/app/components/form/host/azure/index.hbs | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ui/admin/app/components/form/host/aws/index.hbs b/ui/admin/app/components/form/host/aws/index.hbs index 9fda57479..a8bd48401 100644 --- a/ui/admin/app/components/form/host/aws/index.hbs +++ b/ui/admin/app/components/form/host/aws/index.hbs @@ -71,7 +71,14 @@ - + {{#each @model.ip_addresses as |address|}} + + {{/each}} {{#if (can 'save model' @model)}} - + {{#each @model.ip_addresses as |address|}} + + {{/each}} {{#if (can 'save model' @model)}} Date: Tue, 15 Feb 2022 14:48:08 -0800 Subject: [PATCH 2/3] update attr name --- ui/admin/app/components/form/host/aws/index.hbs | 4 ++-- ui/admin/app/components/form/host/azure/index.hbs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/admin/app/components/form/host/aws/index.hbs b/ui/admin/app/components/form/host/aws/index.hbs index a8bd48401..8e6a2cc08 100644 --- a/ui/admin/app/components/form/host/aws/index.hbs +++ b/ui/admin/app/components/form/host/aws/index.hbs @@ -71,9 +71,9 @@ - {{#each @model.ip_addresses as |address|}} + {{#each @model.ip_addresses as |ip_address|}} - {{#each @model.ip_addresses as |address|}} + {{#each @model.ip_addresses as |ip_address|}} Date: Tue, 15 Feb 2022 16:12:05 -0800 Subject: [PATCH 3/3] =?UTF-8?q?chore:=20=F0=9F=A4=96=20show=20latest=20ip?= =?UTF-8?q?=20addresses?= 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)}}