diff options
Diffstat (limited to 'plugins/caldav')
-rw-r--r-- | plugins/caldav/routes.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/caldav/routes.go b/plugins/caldav/routes.go index f9e6bd5..fd3b219 100644 --- a/plugins/caldav/routes.go +++ b/plugins/caldav/routes.go @@ -38,6 +38,7 @@ type EventRenderData struct { type UpdateEventRenderData struct { alps.BaseRenderData + Calendar *caldav.Calendar CalendarObject *caldav.CalendarObject // nil if creating a new contact Event *ical.Event } @@ -313,6 +314,7 @@ func registerRoutes(p *alps.GoPlugin, u *url.URL) { return ctx.Render(http.StatusOK, "update-event.html", &UpdateEventRenderData{ BaseRenderData: *alps.NewBaseRenderData(ctx), + Calendar: calendar, CalendarObject: co, Event: event, }) |