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
Tweaks for Policy Control UI
[portal/nonrtric-controlpanel.git]
/
webapp-frontend
/
src
/
app
/
policy
/
policy-instance
/
policy-instance.component.html
diff --git
a/webapp-frontend/src/app/policy/policy-instance/policy-instance.component.html
b/webapp-frontend/src/app/policy/policy-instance/policy-instance.component.html
index
29f0579
..
3203c0d
100644
(file)
--- a/
webapp-frontend/src/app/policy/policy-instance/policy-instance.component.html
+++ b/
webapp-frontend/src/app/policy/policy-instance/policy-instance.component.html
@@
-18,7
+18,7
@@
========================LICENSE_END===================================
-->
<div>
========================LICENSE_END===================================
-->
<div>
- Number of instances: {{
noInstances
()}}
+ Number of instances: {{
instanceCount
()}}
<button id="createButton" mat-icon-button (click)="createPolicyInstance(policyTypeSchema)">
<mat-icon id="createIcon" matTooltip="Create instance">add_box</mat-icon>
</button>
<button id="createButton" mat-icon-button (click)="createPolicyInstance(policyTypeSchema)">
<mat-icon id="createIcon" matTooltip="Create instance">add_box</mat-icon>
</button>
@@
-110,7
+110,11
@@
<mat-footer-cell *matFooterCellDef>No records found.</mat-footer-cell>
</ng-container>
<mat-footer-cell *matFooterCellDef>No records found.</mat-footer-cell>
</ng-container>
- <mat-header-row *matHeaderRowDef="['instanceId', 'ric', 'service', 'lastModified', 'action']">
+ <mat-header-row *matHeaderRowDef="['instanceId', 'ric', 'service', 'lastModified', 'action']"
[ngClass]="{'display-none': !this.hasInstances()}"
>
</mat-header-row>
<mat-row *matRowDef="let instance; columns: ['instanceId', 'ric', 'service', 'lastModified', 'action'];"></mat-row>
</mat-header-row>
<mat-row *matRowDef="let instance; columns: ['instanceId', 'ric', 'service', 'lastModified', 'action'];"></mat-row>
-</mat-table>
\ No newline at end of file
+
+ <mat-footer-row *matFooterRowDef="['noRecordsFound']" [ngClass]="{'display-none': this.hasInstances()}">
+ </mat-footer-row>
+
+</mat-table>