mirror of
https://github.com/zitadel/zitadel.git
synced 2025-05-23 14:28:26 +00:00

* new console * move npm ci to angular build * rel path for assets * local grpc copy * login policy, rm clear views, features rel path * lock Co-authored-by: Livio Amstutz <livio.a@gmail.com>
44 lines
1.8 KiB
HTML
44 lines
1.8 KiB
HTML
<div class="change-header">
|
|
<span class="ch-header">{{ 'CHANGES.LISTTITLE' | translate }}</span>
|
|
</div>
|
|
|
|
<div class="scroll-container">
|
|
<li class="item" *ngFor="let hist of data | async; index as histindex">
|
|
<span *ngIf="hist.values[0].dates[0]" class="date">
|
|
{{ hist.values[0].dates[0]| timestampToDate | localizedDate: 'dd. MMM YYYY' }}
|
|
</span>
|
|
<div class="item" *ngFor="let dayelement of hist.values; index as i">
|
|
<div class="row">
|
|
<cnsl-avatar matTooltip="{{ dayelement.editorDisplayName }}" *ngIf="dayelement.editorDisplayName; else spacer"
|
|
class="avatar" [name]="dayelement.editorDisplayName" [size]="32"
|
|
[forColor]="dayelement?.editorPreferredLoginName ?? 'A'" [avatarUrl]="dayelement.editorAvatarUrl || ''">
|
|
</cnsl-avatar>
|
|
<ng-template #spacer>
|
|
<div class="spacer"></div>
|
|
</ng-template>
|
|
<div class="change-actions">
|
|
<div class="change-action" *ngFor="let action of dayelement.eventTypes; index as j">
|
|
<div>
|
|
<span class="msg">{{ action.localizedMessage }}</span>
|
|
<span class="block"
|
|
matTooltip="{{ dayelement.dates[j] | timestampToDate | localizedDate: 'dd. MM YYYY, HH:mm' }}">{{
|
|
dayelement.dates[j] | timestampToDate | localizedDate: 'HH:mm'
|
|
}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<div class="ch-sp-wrapper">
|
|
<mat-spinner *ngIf="loading | async" diameter="25"></mat-spinner>
|
|
</div>
|
|
|
|
<button (click)="more()" class="load-more-button" *ngIf="!bottom" mat-stroked-button>
|
|
{{'CHANGES.LOADMORE' | translate}}
|
|
</button>
|
|
|
|
<div *ngIf="bottom" class="end-container">
|
|
<span class="cnsl-secondary-text">{{'CHANGES.BOTTOM' | translate}}</span>
|
|
</div>
|
|
</div> |