Add CMS toolbar menu for govplan
This commit is contained in:
parent
0322b3b28e
commit
c9ffda4ecb
2 changed files with 30 additions and 0 deletions
|
|
@ -52,6 +52,8 @@ class GovPlanDetailView(GovernmentMixin, DetailView):
|
|||
"-timestamp"
|
||||
)
|
||||
context["section"] = self.get_section()
|
||||
# For CMS toolbar
|
||||
self.request.govplan = self.object
|
||||
return context
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue