Add CMS toolbar menu for govplan

This commit is contained in:
Stefan Wehrmeyer 2022-03-15 12:40:11 +01:00
parent 0322b3b28e
commit c9ffda4ecb
2 changed files with 30 additions and 0 deletions

View file

@ -52,6 +52,8 @@ class GovPlanDetailView(GovernmentMixin, DetailView):
"-timestamp"
)
context["section"] = self.get_section()
# For CMS toolbar
self.request.govplan = self.object
return context