-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into bug/ARPA-955-put-back-role-condition-in-d…
…ashboard-mupro-create-hint
- Loading branch information
Showing
75 changed files
with
15,213 additions
and
613 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,7 +125,7 @@ export class LayoutDefaultComponent implements OnDestroy { | |
label: 'Meine Daten', | ||
icon: 'pi pi-user-edit', | ||
roles: ['performer', 'staff', 'admin'], | ||
routerLink: '/arpa/profile/user', | ||
routerLink: '/arpa/profile/my-data', | ||
translationToken: 'MY_DATA', | ||
}, | ||
{ | ||
|
@@ -139,16 +139,23 @@ export class LayoutDefaultComponent implements OnDestroy { | |
label: 'Meine Termine', | ||
icon: 'pi pi-calendar', | ||
roles: ['performer', 'staff'], | ||
routerLink: '/arpa/profile/appointments', | ||
routerLink: '/arpa/profile/my-appointments', | ||
translationToken: 'MY_APPOINTMENTS', | ||
}, | ||
{ | ||
label: 'Meine Profile', | ||
icon: 'pi pi-user-edit', | ||
roles: ['performer'], | ||
routerLink: '/arpa/profile/musician', | ||
routerLink: '/arpa/profile/musicianprofile', | ||
translationToken: 'MY_PROFILES', | ||
}, | ||
{ | ||
label: 'Hilfe', | ||
icon: 'pi pi-send', | ||
roles: ['performer'], | ||
translationToken: 'SUPPORT', | ||
command: () => this.sendEmail(), | ||
}, | ||
], | ||
}, | ||
]); | ||
|
@@ -163,4 +170,7 @@ export class LayoutDefaultComponent implements OnDestroy { | |
ngOnDestroy(): void { | ||
this.routerEventSubscription.unsubscribe(); | ||
} | ||
sendEmail() { | ||
window.location.href = 'mailto:[email protected]'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,4 @@ export class TopbarComponent { | |
getRoleNames(token: IToken): string { | ||
return token.roles.map((role) => role.charAt(0).toUpperCase() + role.slice(1)).join(', '); | ||
} | ||
sendEmail() { | ||
window.location.href = 'mailto:[email protected]'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 36 additions & 36 deletions
72
...atures/musician-profile-dialog/musician-deactivation/musician-deactivation.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,55 @@ | ||
<form (submit)='$event.preventDefault()' [formGroup]='form'> | ||
<div class='p-fluid p-formgrid p-grid'> | ||
<div class='p-col'> | ||
<arpa-form-field label='musician-profile-dialog.DEACTIVATION_DATE'> | ||
<form (submit)="$event.preventDefault()" [formGroup]="form"> | ||
<div class="p-fluid p-formgrid p-grid"> | ||
<div class="p-col"> | ||
<arpa-form-field label="musicianprofile-dialog.DEACTIVATION_DATE"> | ||
<p-calendar | ||
[minDate]='minDate' | ||
[showWeek]='true' | ||
dateFormat='dd MM yy' | ||
formControlName='deactivationStart' | ||
id='deactivationStart' | ||
[showIcon]='true' | ||
[showOnFocus]='false' | ||
[minDate]="minDate" | ||
[showWeek]="true" | ||
dateFormat="dd MM yy" | ||
formControlName="deactivationStart" | ||
id="deactivationStart" | ||
[showIcon]="true" | ||
[showOnFocus]="false" | ||
appendTo="body" | ||
></p-calendar> | ||
</arpa-form-field> | ||
</div> | ||
</div> | ||
<div class='p-fluid p-formgrid p-grid'> | ||
<div class='p-col'> | ||
<arpa-form-field label='musician-profile-dialog.PURPOSE'> | ||
<textarea formControlName='purpose' id='purpose' pInputText type='text'></textarea> | ||
<div class="p-fluid p-formgrid p-grid"> | ||
<div class="p-col"> | ||
<arpa-form-field label="musicianprofile-dialog.PURPOSE"> | ||
<textarea formControlName="purpose" id="purpose" pInputText type="text"></textarea> | ||
</arpa-form-field> | ||
</div> | ||
</div> | ||
<div class='p-d-flex p-jc-center'> | ||
<div class='p-d-flex p-jc-centerl'> | ||
<div class="p-d-flex p-jc-center"> | ||
<div class="p-d-flex p-jc-centerl"> | ||
<button | ||
(click)='activate()' | ||
*ngIf='profile.deactivation' | ||
[label]="'musician-profile-dialog.ACTIVATE' | translate" | ||
icon='pi pi-check' | ||
iconPos='left' | ||
(click)="activate()" | ||
*ngIf="profile.deactivation" | ||
[label]="'musicianprofile-dialog.ACTIVATE' | translate" | ||
icon="pi pi-check" | ||
iconPos="left" | ||
pButton | ||
type='button' | ||
type="button" | ||
></button> | ||
</div> | ||
<div class='p-d-flex p-jc-center'> | ||
<div class="p-d-flex p-jc-center"> | ||
<button | ||
(click)='deactivate()' | ||
[disabled]='form.pristine || form.invalid' | ||
[label]="'musician-profile-dialog.DEACTIVATE' | translate" | ||
class='p-button-danger' | ||
icon='pi pi-times' | ||
iconPos='left' | ||
(click)="deactivate()" | ||
[disabled]="form.pristine || form.invalid" | ||
[label]="'musicianprofile-dialog.DEACTIVATE' | translate" | ||
class="p-button-danger" | ||
icon="pi pi-times" | ||
iconPos="left" | ||
pButton | ||
type='button' | ||
type="button" | ||
></button> | ||
</div> | ||
</div> | ||
<div> | ||
<div class="p-d-flex p-jc-center"> | ||
<p>{{ 'musicianprofile-dialog.NO_DEACTIVATION_POSSIBLE' | translate }}</p> | ||
</div> | ||
<div> | ||
<div class='p-d-flex p-jc-center'> | ||
<p>{{ 'musician-profile-dialog.NO_DEACTIVATION_POSSIBLE' | translate }}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.