[Library | Trunk]: Add id on modal. Add isUpload on stakeholder

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59491 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2020-09-29 14:24:38 +00:00
parent b4c9dffda6
commit 018fe9f6d2
2 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,7 @@ export class Stakeholder {
updateDate: Date; updateDate: Date;
managers: string[]; managers: string[];
logoUrl: string; logoUrl: string;
isUpload: boolean = false;
topics: Topic[]; topics: Topic[];
description: string; description: string;

View File

@ -5,7 +5,7 @@ declare var UIkit: any;
@Component({ @Component({
selector: 'modal-alert', selector: 'modal-alert',
template: ` template: `
<div #element class="uk-modal" uk-modal> <div #element class="uk-modal" [id]="id" uk-modal>
<div class="uk-modal-dialog uk-modal-body uk-animation-fast uk-margin-medium-bottom uk-text-left" <div class="uk-modal-dialog uk-modal-body uk-animation-fast uk-margin-medium-bottom uk-text-left"
[ngClass]="classBody"> [ngClass]="classBody">
<div [ngClass]="classTitle" class="uk-modal-title" [hidden]=!alertHeader> <div [ngClass]="classTitle" class="uk-modal-title" [hidden]=!alertHeader>
@ -60,6 +60,7 @@ declare var UIkit: any;
* API to an open alert window. * API to an open alert window.
*/ */
export class AlertModal { export class AlertModal {
@Input() id: string = "modal";
@Input() classTitle: string = ""; @Input() classTitle: string = "";
@Input() classBody: string = ""; @Input() classBody: string = "";
/** /**