Skip to content

Commit

Permalink
Fikset link til events i kalender ;) ;* uwu
Browse files Browse the repository at this point in the history
  • Loading branch information
VictoriaBar authored and henrikhorluck committed Sep 11, 2024
1 parent b84f646 commit a92fe6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/events/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def add_event(self, event):
cal_event.add("summary", event.title)
cal_event.add("description", event.ingress_short)
cal_event.add("uid", "event-" + str(event.id) + "@online.ntnu.no")
cal_event.add("url", f"https://online.ntnu.no/events/{event.id}")

self.cal.add_component(cal_event)

Expand Down

0 comments on commit a92fe6e

Please sign in to comment.