From f63baafe7de17ff9584bf9afba2e2fe71efbed79 Mon Sep 17 00:00:00 2001 From: jorgebl Date: Fri, 26 Feb 2021 11:36:22 +0100 Subject: [PATCH] get values from model item --- modules/item/front/descriptor/index.html | 21 ++++++++++++++++++--- modules/item/front/descriptor/style.scss | 5 +++++ 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/modules/item/front/descriptor/index.html b/modules/item/front/descriptor/index.html index f20ddf2ea..a8b49cf49 100644 --- a/modules/item/front/descriptor/index.html +++ b/modules/item/front/descriptor/index.html @@ -48,9 +48,24 @@ + label="{{$ctrl.item.tag5}}" + ng-class="{emptyTag: !$ctrl.item.value5}" + value="{{$ctrl.item.value5}}"> + + + + + +
diff --git a/modules/item/front/descriptor/style.scss b/modules/item/front/descriptor/style.scss index 8b684a77b..559bf3833 100644 --- a/modules/item/front/descriptor/style.scss +++ b/modules/item/front/descriptor/style.scss @@ -7,3 +7,8 @@ vn-item-descriptor { display: block; } } + +.emptyTag { + display: none; + +}