[Trunk | Library]:

1. showIdentifiers.component.ts: [Bug fix] Replace <li> tag with <div> (component is not inside <ul> element).
2. cookie-law.html: [Bug fix] Add missing closing <div> element.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59071 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2020-07-12 22:06:57 +00:00
parent 5317506680
commit 05f3635d28
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import {EnvProperties} from "../../utils/properties/env-properties";
selector: 'showIdentifiers',
template: `
<ng-container *ngFor="let key of getKeys(identifiers) let i=index">
<li>
<div>
<span *ngIf="countSizeOfPreviousIdentifiers(i) < pageSize || showAll" class="uk-margin-right">
<span class="uk-text-muted uk-text-uppercase">{{key}}: </span>
<ng-container *ngFor="let item of identifiers.get(key) let j=index">
@ -29,7 +29,7 @@ import {EnvProperties} from "../../utils/properties/env-properties";
</span>
</ng-container>
</span>
</li>
</div>
</ng-container>
<div *ngIf="!showAll && countIdentifiers() > pageSize" class="uk-text-right">
<a (click)="showAll = !showAll;">

View File

@ -21,3 +21,4 @@
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="1"><path fill="none" stroke="#000" stroke-width="1.06" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.06" d="M16,4 L4,16"></path></svg>
</span></a>
</div>
</div>