Skip to content
Snippets Groups Projects
Commit e3422852 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6376 OZG-6801 Modify user text

parent f4adc686
No related branches found
No related tags found
No related merge requests found
......@@ -76,10 +76,15 @@ export class VorgangListItemComponent implements OnInit {
const name: string = this.vorgang.name;
const aktenzeichen: string = getAktenzeichenText(this.vorgang);
const nummer: string = this.vorgang.nummer;
const status: string = this.getStatus();
const approvalStatus: string = this.getApprovalText();
const createdAt: string = formatFullDateWithTimeWithoutSeconds(this.vorgang.createdAt);
const userText: string =
userProfileResource ?
`Aktuell zugewiesener Nutzer: ${getUserName(userProfileResource)}`
: 'Kein Bearbeiter zugewiesen';
this.ariaLabel = `Vorgang: ${name}, Aktenzeichen: ${aktenzeichen}, Nummer: ${nummer} Status: ${this.getStatus()} ${approvalStatus}, Eingang: ${createdAt}, Aktuell zugewiesener Nutzer: ${getUserName(userProfileResource)}`;
this.ariaLabel = `Vorgang: ${name}, Aktenzeichen: ${aktenzeichen}, Nummer: ${nummer} Status: ${status} ${approvalStatus}, Eingang: ${createdAt}, ${userText}`;
if (
hasLink(this.vorgang, VorgangHeaderLinkRel.WIEDERVORLAGEN) &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment