@for (card of cards; let i = $index; track i) {
diff --git a/admin/src/app/features/calendar/components/calendar-view/single-event-dashboard/single-event-dashboard.ts b/admin/src/app/features/calendar/components/calendar-view/single-event-dashboard/single-event-dashboard.ts
index cb74713..ac8577b 100644
--- a/admin/src/app/features/calendar/components/calendar-view/single-event-dashboard/single-event-dashboard.ts
+++ b/admin/src/app/features/calendar/components/calendar-view/single-event-dashboard/single-event-dashboard.ts
@@ -1,17 +1,13 @@
-import { Component, effect, input, signal } from '@angular/core';
-import { CalendarEventDto, EventsInRangeDTO } from '../../../models/events-in-range-dto.model';
+import { Component, effect, input } from '@angular/core';
+import { CalendarEventDto } from '../../../models/events-in-range-dto.model';
import { DetailView, DetailViewConfig } from '../../../../../components/detail-view/detail-view';
-import { JsonPipe } from '@angular/common';
import { SvgIcons } from '../../../../../svg-icons';
-import { SafeHtmlPipe } from '../../../../../pipes/safe-html-pipe';
import { SingleEventDashboardCard } from '../single-event-dashboard-card/single-event-dashboard-card';
@Component({
selector: 'app-single-event-dashboard',
imports: [
DetailView,
- JsonPipe,
- SafeHtmlPipe,
SingleEventDashboardCard,
],
templateUrl: './single-event-dashboard.html',
@@ -27,32 +23,32 @@ export class SingleEventDashboard {
buttonTitle: 'Szerkesztés',
title: 'Szerkesztés',
svgIcon: SvgIcons.heorPencilSquare,
- description: 'Az esemény módosítása'
+ description: 'Az esemény módosítása',
},
{
- buttonTitle: 'Esemény lemondása',
+ buttonTitle: 'Lemondás',
title: 'Esemény lemondása',
svgIcon: SvgIcons.heroXcircle,
- description: 'Az esemény lemondása'
+ description: 'Az esemény lemondása, email küldése a jelentkezőknek',
},
{
- buttonTitle: 'Esemény törlése',
+ buttonTitle: 'Törlése',
title: 'Esemény törlése',
svgIcon: SvgIcons.heroTrash,
- description: 'Az esemény törlése'
+ description: 'Az esemény törlése',
},
{
buttonTitle: 'Bejelentkezés',
title: 'Időpont foglalás',
- svgIcon: SvgIcons.heroTrash,
- description: 'Időpont foglalása eseményre'
+ svgIcon: SvgIcons.heroUserPlus,
+ description: 'Időpont foglalása eseményre',
},
{
buttonTitle: 'Lemondás',
- title: 'Időpont lemondása',
- svgIcon: SvgIcons.heroTrash,
- description: 'Az időpont lemondása'
- }
+ title: 'Lemondása',
+ svgIcon: SvgIcons.heroUserMinus,
+ description: 'Az időpont lemondása',
+ },
];
constructor() {
@@ -71,14 +67,14 @@ export class SingleEventDashboard {
{
attribute: 'startTime',
getTitle: 'Kezdési időpont',
- format: 'datetime'
+ format: 'datetime',
},
{
attribute: 'eventType',
getTitle: 'Esemény típusa',
getValue: obj => obj.eventType.name,
- }
+ },
],
};
});
@@ -86,7 +82,8 @@ export class SingleEventDashboard {
protected readonly SvgIcons = SvgIcons;
}
-export interface CardConfig{
+
+export interface CardConfig {
title?: string;
description?: string;
buttonTitle?: string;
diff --git a/admin/src/app/svg-icons.ts b/admin/src/app/svg-icons.ts
index 3c2fa06..d49cbbe 100644
--- a/admin/src/app/svg-icons.ts
+++ b/admin/src/app/svg-icons.ts
@@ -24,4 +24,16 @@ export class SvgIcons {
`;
+ public static heroUserPlus = `
+
+`
+ public static heroUserMinus = `
+
+ `
+
+
}