Skip to content

Commit 40f29eb

Browse files
authored
Merge pull request #627 from bettercodepaul/#2093
Ticket #2093
2 parents 3069fda + c4305f3 commit 40f29eb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

bogenliga/src/app/modules/home/components/home/home.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const HOME_SHORTCUT_BUTTON_CONFIG: ShortcutButtonsConfig = {
4343
roles: ["LIGALEITER"]
4444
},
4545
{
46-
title: 'Mannschaftsmitglied hinzufügen',
46+
title: 'Mannschaften verwalten',
4747
icon: AddManschaftsmitglied,
4848
route: '/verwaltung/vereine/vereinsid',
4949
permissions: [UserPermission.CAN_MODIFY_MANNSCHAFT, UserPermission.CAN_MODIFY_MY_VEREIN],

bogenliga/src/app/modules/shared/components/buttons/shortcut-button/shortcut-button.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ <h2>Was möchtest du tun?</h2>
44
<ng-container *ngFor="let button of config.shortcutButtons">
55
<div *ngIf="hasUserPermissions(button.permissions) && hasUserRole(button.roles)" class="buttonwrapper">
66
<div class="Button">
7-
<button *ngIf="button.title !== 'Mannschaftsmitglied hinzufügen'"
7+
<button *ngIf="button.title !== 'Mannschaften verwalten'"
88
type="button" class="shortcut-btn" [routerLink]="button.route" routerLinkActive="active" [attr.data-cy]="'shortcut-btn-' + button.title.replace(' ', '-')">
99
<img class="buttonlogo" *ngIf="button.icon" [src]="button.icon" alt="{{ button.title }}" />
1010
</button>
11-
<button *ngIf="button.title === 'Mannschaftsmitglied hinzufügen'"
11+
<button *ngIf="button.title === 'Mannschaften verwalten'"
1212
type="button" class="shortcut-btn" [routerLink]="getCorrectLink()" routerLinkActive="active">
1313
<img class="buttonlogo" *ngIf="button.icon" [src]="button.icon" alt="{{ button.title }}" />
1414
</button>

0 commit comments

Comments
 (0)