Skip to content

Commit

Permalink
Merge pull request #655 from maykinmedia/fix/1459-show-common-extensi…
Browse files Browse the repository at this point in the history
…ons-to-admin-menu

[#1459] Show readable name of common extensions in the admin
  • Loading branch information
alextreme authored Jun 8, 2023
2 parents 356df7d + edf74d8 commit 2c6a931
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/open_inwoner/cms/extensions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ class CommonExtension(PageExtension):
help_text=_("Icon in het menu"),
)

def __str__(self):
return str(self.get_page())

def save(self, *args, **kwargs):
if self.requires_auth_bsn:
self.requires_auth = True
Expand Down

0 comments on commit 2c6a931

Please sign in to comment.