mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-06 19:36:41 +00:00
* fix(console, e2e): static data-e2e attributes, consistent naming * quote cypress attribute selectors * Update console/src/app/modules/policies/private-labeling-policy/private-labeling-policy.component.html Co-authored-by: Elio Bischof <eliobischof@gmail.com> * Update console/src/app/modules/project-roles-table/project-roles-table.component.html Co-authored-by: Elio Bischof <eliobischof@gmail.com> * fix , Co-authored-by: Elio Bischof <eliobischof@gmail.com>
30 lines
1.2 KiB
HTML
30 lines
1.2 KiB
HTML
<div class="paginator-wrapper">
|
|
<div class="col">
|
|
<p class="length">
|
|
<span>{{ length }} </span>{{ 'PAGINATOR.COUNT' | translate }}
|
|
</p>
|
|
<p class="ts cnsl-secondary-text" *ngIf="timestamp" data-e2e="timestamp">
|
|
{{ timestamp | timestampToDate | localizedDate: 'EEEE dd. MMM YYYY, HH:mm' }}
|
|
</p>
|
|
</div>
|
|
<span class="fill-space"></span>
|
|
<span class="pos cnsl-secondary-text" *ngIf="!hidePagination"
|
|
>{{ pageIndex * pageSize }} - {{ pageIndex * pageSize + pageSize }}
|
|
</span>
|
|
<div class="row" *ngIf="!hidePagination">
|
|
<cnsl-form-field class="size">
|
|
<mat-select class="paginator-select" [(ngModel)]="pageSize" (selectionChange)="emitChange()">
|
|
<mat-option *ngFor="let sizeOption of pageSizeOptions" [value]="sizeOption">
|
|
{{ sizeOption }}
|
|
</mat-option>
|
|
</mat-select>
|
|
</cnsl-form-field>
|
|
<button *ngIf="previousPossible" (click)="previous()" [disabled]="!previousPossible" mat-stroked-button>
|
|
{{ 'PAGINATOR.PREVIOUS' | translate }}
|
|
</button>
|
|
<button *ngIf="nextPossible" (click)="next()" [disabled]="!nextPossible" mat-stroked-button>
|
|
{{ 'PAGINATOR.NEXT' | translate }}
|
|
</button>
|
|
</div>
|
|
</div>
|