From e26f3f7ea836d728f61a5d38a2b1d74417545f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 16 Aug 2018 09:29:49 +0200 Subject: [PATCH] backoffice: update to new appbar markup (#25983) --- wcs/admin/categories.py | 4 ++++ wcs/admin/data_sources.py | 4 ++++ wcs/admin/forms.py | 2 ++ wcs/admin/roles.py | 4 ++++ wcs/admin/users.py | 4 ++++ wcs/admin/workflows.py | 2 ++ wcs/admin/wscalls.py | 4 ++++ wcs/backoffice/management.py | 12 ++++++++++-- 8 files changed, 34 insertions(+), 2 deletions(-) diff --git a/wcs/admin/categories.py b/wcs/admin/categories.py index 530327275..d3447b332 100644 --- a/wcs/admin/categories.py +++ b/wcs/admin/categories.py @@ -74,8 +74,10 @@ class CategoryPage(Directory): r += htmltext('
') r += htmltext('

%s

') % self.category.name + r += htmltext('') r += htmltext('%s') % _('Delete') r += htmltext('%s') % _('Edit') + r += htmltext('') r += htmltext('
') if self.category.description: @@ -175,7 +177,9 @@ class CategoriesDirectory(Directory): r += htmltext('
') r += htmltext('

%s

') % _('Categories') + r += htmltext('') r += htmltext('%s') % _('New Category') + r += htmltext('') r += htmltext('
') r += htmltext('

%s

') % \ _('Categories are used to sort the different forms.') diff --git a/wcs/admin/data_sources.py b/wcs/admin/data_sources.py index 9dff7f2fe..d12d89bc2 100644 --- a/wcs/admin/data_sources.py +++ b/wcs/admin/data_sources.py @@ -95,8 +95,10 @@ class NamedDataSourcePage(Directory): r += htmltext('

%s - ') % _('Data Source') r += self.datasource.name r += htmltext('

') + r += htmltext('') r += htmltext('%s') % _('Delete') r += htmltext('%s') % _('Edit') + r += htmltext('') r += htmltext('') if self.datasource.description: @@ -213,7 +215,9 @@ class NamedDataSourcesDirectory(Directory): r += htmltext('
') r += htmltext('

%s

') % _('Data Sources') + r += htmltext('') r += htmltext('%s') % _('New Data Source') + r += htmltext('') r += htmltext('
') r += htmltext('