Implement keyboard shortcuts and workflow changes
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
-->
|
||||
|
||||
<div class="container m-b-10 layout-row layout-lt-md-column align-end gap-1percent">
|
||||
<button mat-raised-button color="primary" class="m-r-10" (click)="configureShortcuts()">
|
||||
<fa-icon icon="keyboard" class="m-r-10"></fa-icon>
|
||||
{{ 'labels.buttons.Configure Shortcuts' | translate }}
|
||||
</button>
|
||||
<button mat-raised-button color="primary" class="m-r-10" [routerLink]="['/system', 'roles-and-permissions']">
|
||||
<fa-icon icon="check" class="m-r-10"></fa-icon>
|
||||
{{ 'labels.buttons.Permissions' | translate }}
|
||||
|
||||
@@ -28,6 +28,7 @@ import { Router, RouterLink } from '@angular/router';
|
||||
import { AuthenticationService } from 'app/core/authentication/authentication.service';
|
||||
import { ChangePasswordDialogComponent } from 'app/shared/change-password-dialog/change-password-dialog.component';
|
||||
import { SettingsService } from 'app/settings/settings.service';
|
||||
import { KeyboardShortcutsDialogComponent } from 'app/shared/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.component';
|
||||
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
|
||||
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
|
||||
|
||||
@@ -108,7 +109,13 @@ export class ProfileComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
get tenantIdentifier(): string {
|
||||
get tenantIdentifier() {
|
||||
return this.settingsService.tenantIdentifier || 'default';
|
||||
}
|
||||
|
||||
configureShortcuts() {
|
||||
this.dialog.open(KeyboardShortcutsDialogComponent, {
|
||||
width: '800px'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user