Skip to content
Snippets Groups Projects
Commit 0cd72fec authored by Jeremy's avatar Jeremy
Browse files

ui adjustment consent-history

parent 19def386
No related branches found
No related tags found
No related merge requests found
Pipeline #1728524 passed
...@@ -58,6 +58,11 @@ ...@@ -58,6 +58,11 @@
<h2>Deine Einwilligungen</h2> <h2>Deine Einwilligungen</h2>
<div *ngIf="!consentHistory.length" class="no-consent-content">
<img src="assets/not_found.svg" width="400" />
<h1 class="no-consent-text">Du hast bisher keine Einwilligungen erteilt.</h1>
</div>
<nz-collapse <nz-collapse
class="collaps-consent" class="collaps-consent"
*ngFor="let group_data of consentHistory" *ngFor="let group_data of consentHistory"
...@@ -137,16 +142,22 @@ ...@@ -137,16 +142,22 @@
<nz-list-item-meta <nz-list-item-meta
[nzAvatar]="consent.consented ? itemAvatarChecked : itemAvatarUnChecked"> [nzAvatar]="consent.consented ? itemAvatarChecked : itemAvatarUnChecked">
<ng-template #itemAvatarChecked> <ng-template #itemAvatarChecked>
<fa-icon class="consent-icon" [icon]="faCheckCircle"></fa-icon <fa-icon
>&nbsp;&nbsp;&nbsp;<span class="consent-list">{{ [ngClass]="consent.consented ? 'consent-icon' : 'consent-icon-revoke'"
consent.verb.description [icon]="faCheckCircle"></fa-icon
}}</span> >&nbsp;&nbsp;&nbsp;<span
[ngClass]="consent.consented ? 'consent-list' : 'consent-list-revoke'"
>{{ consent.verb.description }}</span
>
</ng-template> </ng-template>
<ng-template #itemAvatarUnChecked> <ng-template #itemAvatarUnChecked>
<fa-icon class="consent-icon" [icon]="faTimesCircle"></fa-icon <fa-icon
>&nbsp;&nbsp;&nbsp;<span class="consent-list">{{ [ngClass]="consent.consented ? 'consent-icon' : 'consent-icon-revoke'"
consent.verb.description [icon]="faTimesCircle"></fa-icon
}}</span> >&nbsp;&nbsp;&nbsp;<span
[ngClass]="consent.consented ? 'consent-list' : 'consent-list-revoke'"
>{{ consent.verb.description }}</span
>
</ng-template> </ng-template>
</nz-list-item-meta> </nz-list-item-meta>
</nz-list-item> </nz-list-item>
......
...@@ -94,7 +94,31 @@ ...@@ -94,7 +94,31 @@
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
} }
.consent-list-revoke {
font-weight: 600;
font-size: 16px;
color: #5a6e7f;
}
.consent-icon { .consent-icon {
font-size: 15px; font-size: 15px;
} }
.consent-icon-revoke {
font-size: 15px;
color: #5a6e7f;
}
.no-consent-content {
padding-top: 50px;
padding-bottom: 50px;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
gap: 20px;
}
.no-consent-text {
color: #5a6e7f;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment