styling changes
This commit is contained in:
parent
38abef185c
commit
039ce68221
|
@ -184,11 +184,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div *ngFor="let dmpUser of description.dmp?.dmpUsers" class="row authors">
|
<div *ngFor="let dmpUser of description.dmp?.dmpUsers" class="row authors">
|
||||||
<div class="col d-flex flex-row">
|
<div class="col-auto d-flex flex-row">
|
||||||
<button class="account_btn mr-3 pl-0">
|
<button class="account_btn mr-3 pl-0">
|
||||||
<mat-icon class="account-icon">account_circle</mat-icon>
|
<mat-icon class="account-icon">account_circle</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<div>
|
</div>
|
||||||
|
<div class="col" style="min-width: 0;">
|
||||||
<p class="authors-label">{{ dmpUser.user?.name }} <span *ngIf="isUserAuthor(dmpUser.user?.id)">({{ 'DESCRIPTION-OVERVIEW.YOU' | translate }})</span></p>
|
<p class="authors-label">{{ dmpUser.user?.name }} <span *ngIf="isUserAuthor(dmpUser.user?.id)">({{ 'DESCRIPTION-OVERVIEW.YOU' | translate }})</span></p>
|
||||||
<p class="authors-role">
|
<p class="authors-role">
|
||||||
<span>{{ enumUtils.toDmpUserRoleString(dmpUser.role) }} - </span>
|
<span>{{ enumUtils.toDmpUserRoleString(dmpUser.role) }} - </span>
|
||||||
|
@ -196,7 +197,6 @@
|
||||||
<span *ngIf="dmpUser.sectionId">{{ getSectionNameById(dmpUser.sectionId) }}</span>
|
<span *ngIf="dmpUser.sectionId">{{ getSectionNameById(dmpUser.sectionId) }}</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="col-auto" *ngIf="canInviteDmpUsers && description.dmp?.status === dmpStatusEnum.Draft && dmpUser.role != dmpUserRoleEnum.Owner" >
|
<div class="col-auto" *ngIf="canInviteDmpUsers && description.dmp?.status === dmpStatusEnum.Draft && dmpUser.role != dmpUserRoleEnum.Owner" >
|
||||||
<!-- <button (click)="removeUserFromDmp(dmpUser)" class="remove-btn">{{ 'DESCRIPTION-OVERVIEW.ACTIONS.REMOVE-AUTHOR' | translate}}</button> -->
|
<!-- <button (click)="removeUserFromDmp(dmpUser)" class="remove-btn">{{ 'DESCRIPTION-OVERVIEW.ACTIONS.REMOVE-AUTHOR' | translate}}</button> -->
|
||||||
|
|
||||||
|
|
|
@ -262,6 +262,9 @@
|
||||||
color: #212121;
|
color: #212121;
|
||||||
height: 1.4em;
|
height: 1.4em;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.authors-role {
|
.authors-role {
|
||||||
|
|
|
@ -246,18 +246,19 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div *ngFor="let dmpUser of dmp.dmpUsers" class="row authors">
|
<div *ngFor="let dmpUser of dmp.dmpUsers" class="row authors">
|
||||||
<div class="col-12 d-flex flex-row">
|
<div class="col-auto pr-0">
|
||||||
<button class="account_btn mr-3 pl-0">
|
<button class="account_btn">
|
||||||
<mat-icon class="account-icon">account_circle</mat-icon>
|
<mat-icon class="account-icon">account_circle</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<div>
|
</div>
|
||||||
|
<div class="col" style="min-width: 0;">
|
||||||
|
<!-- <div class="mytext">{{ dmpUser.user?.name }}</div> -->
|
||||||
<p class="authors-label">{{ dmpUser.user?.name }}
|
<p class="authors-label">{{ dmpUser.user?.name }}
|
||||||
<span *ngIf="isUserAuthor(dmpUser.user?.id)">
|
<span *ngIf="isUserAuthor(dmpUser.user?.id)">
|
||||||
({{ 'DMP-OVERVIEW.YOU' | translate }})</span>
|
({{ 'DMP-OVERVIEW.YOU' | translate }})</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="authors-role">{{ enumUtils.toDmpUserRoleString(dmpUser.role) }}</p>
|
<p class="authors-role">{{ enumUtils.toDmpUserRoleString(dmpUser.role) }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div *ngIf="canAssignDmpUsers(dmp) && dmp.status === dmpStatusEnum.Draft && dmpUser.role != dmpUserRoleEnum.Owner" class="col-12">
|
<div *ngIf="canAssignDmpUsers(dmp) && dmp.status === dmpStatusEnum.Draft && dmpUser.role != dmpUserRoleEnum.Owner" class="col-12">
|
||||||
<button (click)="removeUserFromDmp(dmpUser)" class="remove-btn">{{ 'DMP-OVERVIEW.ACTIONS.REMOVE-AUTHOR' | translate}}</button>
|
<button (click)="removeUserFromDmp(dmpUser)" class="remove-btn">{{ 'DMP-OVERVIEW.ACTIONS.REMOVE-AUTHOR' | translate}}</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -272,6 +272,9 @@
|
||||||
color: #212121;
|
color: #212121;
|
||||||
height: 1.4em;
|
height: 1.4em;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.authors-role {
|
.authors-role {
|
||||||
|
|
Loading…
Reference in New Issue