Code Review
/
portal
/
nonrtric-controlpanel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Updated Control Panel for changed ECS NBI
[portal/nonrtric-controlpanel.git]
/
webapp-frontend
/
src
/
app
/
policy
/
policy-type
/
policy-type.component.html
diff --git
a/webapp-frontend/src/app/policy/policy-type/policy-type.component.html
b/webapp-frontend/src/app/policy/policy-type/policy-type.component.html
index
6bc273d
..
5b92a7d
100644
(file)
--- a/
webapp-frontend/src/app/policy/policy-type/policy-type.component.html
+++ b/
webapp-frontend/src/app/policy/policy-type/policy-type.component.html
@@
-19,16
+19,18
@@
-->
<div fxLayout="row" fxLayoutGap="10px">
-->
<div fxLayout="row" fxLayoutGap="10px">
- <div class="default-cursor" (click)="toggleVisible()">
- <mat-icon matTooltip="
Properti
es">{{isVisible.value? 'expand_less' : 'expand_more'}}</mat-icon>
+ <div
id="visible"
class="default-cursor" (click)="toggleVisible()">
+ <mat-icon matTooltip="
Show instanc
es">{{isVisible.value? 'expand_less' : 'expand_more'}}</mat-icon>
</div>
</div>
- <div>
-
<b><u>Policy type:</u></b> {{policyTypeInfo.type.id
}}
+ <div
matTooltip={{policyDescription}} matTooltipPosition="after" class="default-cursor" (click)="toggleVisible()"
>
+
{{policyType
}}
</div>
</div>
- <div>
- <b><u>Description:</u></b>{{policyTypeInfo.type.schemaObject.description}}
+</div>
+<div class="description">
+ <div *ngIf="isVisible.value">
+ <u><b>Description</b></u>: {{policyDescription}}
</div>
</div>
</div>
</div>
-<nrcp-policy-instance *ngIf="isVisible.value" [policyTypeSchema]=policyTypeInfo.type
[expanded]=isVisible.asObservable()
>
+<nrcp-policy-instance *ngIf="isVisible.value" [policyTypeSchema]=policyTypeInfo.type>
</nrcp-policy-instance>
\ No newline at end of file
</nrcp-policy-instance>
\ No newline at end of file