add tooltips to account action buttons #313
@@ -67,6 +67,7 @@
|
||||
mat-icon-button
|
||||
type="button"
|
||||
aria-label="Bearbeiten"
|
||||
matTooltip="Account bearbeiten"
|
||||
(click)="startEdit(row)">
|
||||
<mat-icon>{{ EDIT_ICON }}</mat-icon>
|
||||
</button>
|
||||
@@ -74,6 +75,7 @@
|
||||
mat-icon-button
|
||||
type="button"
|
||||
aria-label="Impersonate"
|
||||
matTooltip="Als dieser Account anmelden (Impersonation)"
|
||||
[disabled]="!canImpersonate(row)"
|
||||
(click)="impersonate(row)">
|
||||
<mat-icon>{{ SWITCH_ACCOUNT_ICON }}</mat-icon>
|
||||
@@ -82,6 +84,9 @@
|
||||
mat-icon-button
|
||||
type="button"
|
||||
[attr.aria-label]="row.activated ? 'Deaktivieren' : 'Aktivieren'"
|
||||
[matTooltip]="
|
||||
row.activated ? 'Account deaktivieren' : 'Account aktivieren'
|
||||
"
|
||||
[disabled]="row.is_current || row.deleted"
|
||||
(click)="toggleAccountActivation(row)">
|
||||
<mat-icon>{{
|
||||
@@ -92,6 +97,7 @@
|
||||
mat-icon-button
|
||||
type="button"
|
||||
aria-label="Deaktivieren"
|
||||
matTooltip="Account deaktivieren"
|
||||
[disabled]="row.is_current || row.deleted"
|
||||
(click)="deleteAccount(row)">
|
||||
<mat-icon>{{ DELETE_ICON }}</mat-icon>
|
||||
|
||||
Reference in New Issue
Block a user