diff --git a/extra/modules/boconfig.ptl b/extra/modules/boconfig.ptl index 1c48f71..51ffa3e 100644 --- a/extra/modules/boconfig.ptl +++ b/extra/modules/boconfig.ptl @@ -41,13 +41,18 @@ def get_logo_url(): return '%spages/data/logo.%s' % (get_publisher().get_root_url(), f) return None + +class TextsDirectory(qommon.admin.texts.TextsDirectory): + def html_top(self, title): + html_top('config', title) + class ConfigDirectory(Directory): _q_exports = ['', 'password', 'contact', 'sitetitle', 'homepage', 'texts', 'appearance', 'logo'] def _q_traverse (self, path): get_response().breadcrumb.append( ('config/', _('Configuration')) ) - self.texts = qommon.admin.texts.TextsDirectory() + self.texts = TextsDirectory() self.texts.texts_dict = self.texts.texts_dict.copy() for k in self.texts.texts_dict.keys(): if k not in ('asec-recorded-vote',):