From ef763fdb5bad345e20f39b4a8aeda302b96e82fd Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Wed, 17 Mar 2021 19:17:12 +0530 Subject: [PATCH 1/2] ui: Correct route to ISO on Info Card --- ui/src/components/view/InfoCard.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index 2229f8ee976c..cd07518335fa 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -398,7 +398,12 @@
{{ $t('label.templatename') }}
- {{ resource.templatename || resource.templateid }} +
+ {{ resource.isoname || resource.isoid }} +
+
+ {{ resource.templatename || resource.templateid }} +
From 0c7b160f99d7de2e1815b8fa97bb730f290fa422 Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Thu, 18 Mar 2021 11:57:14 +0530 Subject: [PATCH 2/2] Change label based on template/iso --- ui/src/components/view/InfoCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index cd07518335fa..a1d87da07a6c 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -395,7 +395,7 @@
-
{{ $t('label.templatename') }}
+
{{ resource.isoid ? $t('label.iso') : $t('label.templatename') }}