From 8d6380265299c36f6356c746460baa0cfd2ad4e1 Mon Sep 17 00:00:00 2001 From: thuva4 Date: Sat, 31 Mar 2018 10:58:08 +0530 Subject: Remove code duplication in pod page Create a service to map the object field with the data label. Change-Id: I0c3e96dca01a27ec4785c1426d82e115afb6c1df Signed-off-by: thuva4 --- .../opnfv_testapi/ui/components/pods/pod/pod.html | 30 +++------------------- 1 file changed, 4 insertions(+), 26 deletions(-) (limited to 'testapi/opnfv_testapi/ui/components/pods/pod/pod.html') diff --git a/testapi/opnfv_testapi/ui/components/pods/pod/pod.html b/testapi/opnfv_testapi/ui/components/pods/pod/pod.html index 6aace92..f9ab7c1 100644 --- a/testapi/opnfv_testapi/ui/components/pods/pod/pod.html +++ b/testapi/opnfv_testapi/ui/components/pods/pod/pod.html @@ -3,33 +3,11 @@
- - - + + + - - - - - - - - - - - - - - - - - - - - - - - +
Id :{{ctrl.data._id}}
{{detail | capitalize}} :{{ctrl.data[index]}}
Name :{{ctrl.data.name}}
Creator :{{ctrl.data.creator}}
Role :{{ctrl.data.role}}
Mode :{{ctrl.data.mode}}
Created at :{{ctrl.data['creation_date']}}
Details :{{ctrl.data.details}}
-- cgit 1.2.3-korg