Fixes
This commit is contained in:
parent
b4bdbe4ee4
commit
6c320c6eb3
@ -38,7 +38,7 @@ export class JustificationsDialogService extends DialogService<DialogType> {
|
|||||||
super(_dialog);
|
super(_dialog);
|
||||||
}
|
}
|
||||||
|
|
||||||
confirmDelete(justifications: Justification[], listingService: ListingService<Justification>) {
|
confirmDelete(justifications: Justification[]) {
|
||||||
const data = new ConfirmationDialogInput({
|
const data = new ConfirmationDialogInput({
|
||||||
title: _('confirmation-dialog.delete-justification.title'),
|
title: _('confirmation-dialog.delete-justification.title'),
|
||||||
titleColor: TitleColors.WARN,
|
titleColor: TitleColors.WARN,
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import { HttpClientModule } from '@angular/common/http';
|
|||||||
import { KeycloakAngularModule, KeycloakOptions, KeycloakService } from 'keycloak-angular';
|
import { KeycloakAngularModule, KeycloakOptions, KeycloakService } from 'keycloak-angular';
|
||||||
import { ConfigService } from '@services/config.service';
|
import { ConfigService } from '@services/config.service';
|
||||||
import { BASE_HREF } from '../../tokens';
|
import { BASE_HREF } from '../../tokens';
|
||||||
import { environment } from '@environments/environment';
|
|
||||||
|
|
||||||
function getKeycloakOptions(configService: ConfigService, baseUrl: string) {
|
function getKeycloakOptions(configService: ConfigService, baseUrl: string) {
|
||||||
let url: string = configService.values.OAUTH_URL;
|
let url: string = configService.values.OAUTH_URL;
|
||||||
|
|||||||
@ -20,7 +20,7 @@ export class ResizeAnnotationDialogComponent implements OnInit {
|
|||||||
public dialogRef: MatDialogRef<ResizeAnnotationDialogComponent>,
|
public dialogRef: MatDialogRef<ResizeAnnotationDialogComponent>,
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
async ngOnInit() {
|
ngOnInit() {
|
||||||
this.isDocumentAdmin = this._permissionsService.isApprover();
|
this.isDocumentAdmin = this._permissionsService.isApprover();
|
||||||
|
|
||||||
this.resizeForm = this._formBuilder.group({
|
this.resizeForm = this._formBuilder.group({
|
||||||
|
|||||||
@ -1,10 +1,9 @@
|
|||||||
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
||||||
import { PermissionsService } from '@services/permissions.service';
|
import { PermissionsService } from '@services/permissions.service';
|
||||||
import { StatusSorter } from '../../../../../../../../../../libs/red-domain/src/lib/shared/sorters/status-sorter';
|
|
||||||
import { CircleButtonTypes, StatusBarConfig } from '@iqser/common-ui';
|
import { CircleButtonTypes, StatusBarConfig } from '@iqser/common-ui';
|
||||||
import { UserService } from '@services/user.service';
|
import { UserService } from '@services/user.service';
|
||||||
import { AppStateService } from '@state/app-state.service';
|
import { AppStateService } from '@state/app-state.service';
|
||||||
import { Dossier } from '@red/domain';
|
import { Dossier, StatusSorter } from '@red/domain';
|
||||||
import { DossiersDialogService } from '../../../../services/dossiers-dialog.service';
|
import { DossiersDialogService } from '../../../../services/dossiers-dialog.service';
|
||||||
import { LongPressEvent } from '@shared/directives/long-press.directive';
|
import { LongPressEvent } from '@shared/directives/long-press.directive';
|
||||||
import { UserPreferenceService } from '@services/user-preference.service';
|
import { UserPreferenceService } from '@services/user-preference.service';
|
||||||
|
|||||||
@ -138,6 +138,15 @@
|
|||||||
},
|
},
|
||||||
"annotation": "Anmerkung",
|
"annotation": "Anmerkung",
|
||||||
"annotation-actions": {
|
"annotation-actions": {
|
||||||
|
"resize": {
|
||||||
|
"label": "Größe ändern"
|
||||||
|
},
|
||||||
|
"resize-accept": {
|
||||||
|
"label": "Größe speichern"
|
||||||
|
},
|
||||||
|
"resize-cancel": {
|
||||||
|
"label": "Größenänderung abbrechen"
|
||||||
|
},
|
||||||
"accept-recommendation": {
|
"accept-recommendation": {
|
||||||
"label": "Empfehlung annehmen"
|
"label": "Empfehlung annehmen"
|
||||||
},
|
},
|
||||||
@ -356,6 +365,16 @@
|
|||||||
"logout": "Ausloggen"
|
"logout": "Ausloggen"
|
||||||
},
|
},
|
||||||
"by": "von",
|
"by": "von",
|
||||||
|
"resize-annotation-dialog": {
|
||||||
|
"actions": {
|
||||||
|
"cancel": "Abbrechen",
|
||||||
|
"save": "Änderungen speichern"
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"comment": "Kommentar"
|
||||||
|
},
|
||||||
|
"header": "Schwärzung ändern"
|
||||||
|
},
|
||||||
"change-legal-basis-dialog": {
|
"change-legal-basis-dialog": {
|
||||||
"actions": {
|
"actions": {
|
||||||
"cancel": "Abbrechen",
|
"cancel": "Abbrechen",
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { IListable } from '@iqser/common-ui';
|
import { IListable } from '@iqser/common-ui';
|
||||||
import { FileAttributeConfigType } from '@red/domain';
|
import { FileAttributeConfigType } from './file-attribute-config';
|
||||||
|
|
||||||
export interface IField extends IListable {
|
export interface IField extends IListable {
|
||||||
id: string;
|
id: string;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user