PDF editor: add file size to label (Z#23226663) (#5965)

This commit is contained in:
Raphael Michel
2026-03-09 18:10:57 +01:00
committed by GitHub
parent 5099fa16e0
commit dc4556d428
2 changed files with 7 additions and 1 deletions

View File

@@ -292,6 +292,7 @@ class BaseEditorView(EventPermissionRequiredMixin, TemplateView):
ctx['layout'] = json.dumps(self.get_current_layout())
ctx['title'] = self.title
ctx['locales'] = [p for p in settings.LANGUAGES if p[0] in self.request.event.settings.locales]
ctx['maxfilesize'] = self.maxfilesize
return ctx