[Library | Trunk]: Remove srcoll from role users list. Fix message on modals

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60251 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2021-01-15 10:47:57 +00:00
parent 4fd68f81e6
commit 0a8713e225
1 changed files with 3 additions and 4 deletions

View File

@ -38,8 +38,7 @@
<div *ngIf="showActive">No {{role}}s for {{name}}</div> <div *ngIf="showActive">No {{role}}s for {{name}}</div>
<div *ngIf="!showActive">No pending {{role}} invitations for {{name}}</div> <div *ngIf="!showActive">No pending {{role}} invitations for {{name}}</div>
</div> </div>
<div *ngIf="(showActive && active.length > 0) || (!showActive && pending.length > 0)" <div *ngIf="(showActive && active.length > 0) || (!showActive && pending.length > 0)">
class="uk-overflow-auto uk-height-max-large">
<div class="uk-card uk-card-default uk-card-body uk-text-small uk-margin-bottom" <div class="uk-card uk-card-default uk-card-body uk-text-small uk-margin-bottom"
*ngFor="let item of (showActive)?active:pending"> *ngFor="let item of (showActive)?active:pending">
<div class="uk-grid uk-grid-divider uk-flex uk-flex-middle" uk-grid> <div class="uk-grid uk-grid-divider uk-flex uk-flex-middle" uk-grid>
@ -65,8 +64,8 @@
</div> </div>
<modal-alert #inviteModal (alertOutput)="invite()" [okDisabled]="invited && invited.invalid"> <modal-alert #inviteModal (alertOutput)="invite()" [okDisabled]="invited && invited.invalid">
<div class="uk-padding uk-padding-remove-horizontal"> <div class="uk-padding uk-padding-remove-horizontal">
<div *ngIf="messages && messages.get(role)" class="uk-margin-medium-bottom uk-text-small"> <div *ngIf="message" class="uk-margin-medium-bottom uk-text-small">
<div [innerHTML]="messages.get(role) | safeHtml"></div> <div [innerHTML]="message | safeHtml"></div>
</div> </div>
<div *ngIf="invited" class="uk-text-center"> <div *ngIf="invited" class="uk-text-center">
<div dashboard-input [formInput]="invited" <div dashboard-input [formInput]="invited"