Add interaction states on notifications page

Fixes #129
This commit is contained in:
Andrew Godwin 2022-12-08 22:58:58 -07:00
parent 39bcd7ac00
commit 20f3919783

View file

@ -213,4 +213,8 @@ class Notifications(ListView):
# Retrieve what kinds of things to show
context["events"] = events
context["notification_options"] = self.request.session["notification_options"]
context["interactions"] = PostInteraction.get_event_interactions(
context["page_obj"],
self.request.identity,
)
return context