Updated menu visibility

This commit is contained in:
Murat Özkorkmaz
2025-11-04 17:48:26 +01:00
parent a1df61f8fb
commit 21a6b7da8c
18 changed files with 135 additions and 70 deletions

View File

@@ -1,11 +1,11 @@
<p-toolbar styleClass="mb-6">
<ng-template #start>
<p-button i18n-label label="Neu" icon="pi pi-plus" severity="secondary" class="mr-2" (onClick)="openNew()" />
<p-button i18n-label label="Löschen" icon="pi pi-trash" severity="danger" outlined (onClick)="deleteSelected()" [disabled]="!selectedProperties || !selectedProperties.length" />
<p-button label="Neu" icon="pi pi-plus" severity="secondary" class="mr-2" (onClick)="openNew()" />
<p-button label="Löschen" icon="pi pi-trash" severity="danger" outlined (onClick)="deleteSelected()" [disabled]="!selectedProperties || !selectedProperties.length" />
</ng-template>
<ng-template #end>
<p-button i18n-label label="Exportieren" icon="pi pi-upload" severity="secondary" (onClick)="exportCSV()" />
<p-button label="Exportieren" icon="pi pi-upload" severity="secondary" (onClick)="exportCSV()" />
</ng-template>
</p-toolbar>
@@ -26,7 +26,7 @@
>
<ng-template #caption>
<div class="flex items-center justify-between">
<h5 class="m-0" i18n>Verwalte Liegenschaften</h5>
<h5 class="m-0" >Verwalte Liegenschaften</h5>
<p-iconfield>
<p-inputicon styleClass="pi pi-search" />
<input pInputText type="text" (input)="onGlobalFilter(dt, $event)" i18n-placeholder placeholder="Suche..." />
@@ -39,39 +39,39 @@
<th style="width: 3rem">
<p-tableHeaderCheckbox />
</th>
<th pSortableColumn="nr" style="min-width:8rem" i18n>
<th pSortableColumn="nr" style="min-width:8rem" >
Nr.
<p-sortIcon field="nr" />
</th>
<th pSortableColumn="name" style="min-width:8rem" i18n>
<th pSortableColumn="name" style="min-width:8rem" >
Name
<p-sortIcon field="name" />
</th>
<th pSortableColumn="owner" style="min-width:8rem" i18n>
<th pSortableColumn="owner" style="min-width:8rem" >
Eigentümer
<p-sortIcon field="owner" />
</th>
<th pSortableColumn="street" style="min-width: 8rem" i18n>
<th pSortableColumn="street" style="min-width: 8rem" >
Straße
<p-sortIcon field="street" />
</th>
<th pSortableColumn="houseNumber" style="min-width:8rem" i18n>
<th pSortableColumn="houseNumber" style="min-width:8rem" >
Hausnummer
<p-sortIcon field="houseNumber" />
</th>
<th pSortableColumn="zipCode" style="min-width: 12rem" i18n>
<th pSortableColumn="zipCode" style="min-width: 12rem" >
Postleitzahl
<p-sortIcon field="zipCode" />
</th>
<th pSortableColumn="city" style="min-width: 12rem" i18n>
<th pSortableColumn="city" style="min-width: 12rem" >
Stadt
<p-sortIcon field="city" />
</th>
<th pSortableColumn="bundesland" style="min-width:8rem" i18n>
<th pSortableColumn="bundesland" style="min-width:8rem" >
Bundesland
<p-sortIcon field="bundesland" />
</th>
<th pSortableColumn="Einheiten" style="min-width:8rem" i18n>
<th pSortableColumn="Einheiten" style="min-width:8rem" >
Einheiten
<p-sortIcon field="Einheiten" />
</th>
@@ -244,8 +244,8 @@
</ng-template>
<ng-template #footer>
<p-button i18n-label label="Abbrechen" icon="pi pi-times" text (click)="hideDialog()" />
<p-button i18n-label label="Speichern" icon="pi pi-check" (click)="saveProperty()" />
<p-button label="Abbrechen" icon="pi pi-times" text (click)="hideDialog()" />
<p-button label="Speichern" icon="pi pi-check" (click)="saveProperty()" />
</ng-template>
</p-dialog>