|
|
@ -13,6 +13,13 @@ export class ParticipantComponent implements OnInit {
|
|
|
|
type: 'Group',
|
|
|
|
type: 'Group',
|
|
|
|
title: 'Allgemein',
|
|
|
|
title: 'Allgemein',
|
|
|
|
properties: [
|
|
|
|
properties: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
type: 'Link',
|
|
|
|
|
|
|
|
linkText: 'Zur Person',
|
|
|
|
|
|
|
|
link: (data) => {
|
|
|
|
|
|
|
|
return '/person/' + data['contactInformation.person.id'];
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
{ dataPath: 'dateRange', translation: 'Zeitraum' },
|
|
|
|
{ dataPath: 'dateRange', translation: 'Zeitraum' },
|
|
|
|
{ dataPath: 'usernamefLotte', translation: 'User fLotte' },
|
|
|
|
{ dataPath: 'usernamefLotte', translation: 'User fLotte' },
|
|
|
|
{ dataPath: 'usernameSlack', translation: 'User Slack' },
|
|
|
|
{ dataPath: 'usernameSlack', translation: 'User Slack' },
|
|
|
@ -104,14 +111,24 @@ export class ParticipantComponent implements OnInit {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
headlineDataPath = 'contactInformation.person.name';
|
|
|
|
getHeadline = (pageData) => {
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
pageData['contactInformation.person.firstName'] +
|
|
|
|
|
|
|
|
' ' +
|
|
|
|
|
|
|
|
pageData['contactInformation.person.name'] +
|
|
|
|
|
|
|
|
' (Aktive*r)'
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
};
|
|
|
|
headlineIconName = 'directions_run';
|
|
|
|
headlineIconName = 'directions_run';
|
|
|
|
pageDataGQLType: string = 'Participant';
|
|
|
|
pageDataGQLType: string = 'Participant';
|
|
|
|
pageDataGQLUpdateInputType: string = 'ParticipantUpdateInput';
|
|
|
|
pageDataGQLUpdateInputType: string = 'ParticipantUpdateInput';
|
|
|
|
|
|
|
|
|
|
|
|
dataService: any;
|
|
|
|
dataService: any;
|
|
|
|
|
|
|
|
|
|
|
|
constructor(private participantsService: ParticipantsService, private workshopsService: WorkshopsService) {
|
|
|
|
constructor(
|
|
|
|
|
|
|
|
private participantsService: ParticipantsService,
|
|
|
|
|
|
|
|
private workshopsService: WorkshopsService
|
|
|
|
|
|
|
|
) {
|
|
|
|
this.workshopsService.loadTableData();
|
|
|
|
this.workshopsService.loadTableData();
|
|
|
|
this.workshopsService.tableData.subscribe((data) => {
|
|
|
|
this.workshopsService.tableData.subscribe((data) => {
|
|
|
|
this.propertiesInfo.find(
|
|
|
|
this.propertiesInfo.find(
|
|
|
|