From 1f871c2e6e73d13e053bdf5114afb2ca57900693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 22 Jul 2021 15:13:04 +0200 Subject: [PATCH] wcs: add custom loading messages for drafts and forms (#55774) --- combo/apps/wcs/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/combo/apps/wcs/models.py b/combo/apps/wcs/models.py index 243cf8aa..9afa7cc3 100644 --- a/combo/apps/wcs/models.py +++ b/combo/apps/wcs/models.py @@ -453,6 +453,7 @@ class CategoriesFilteringMixin(object): @register_cell_class class WcsCurrentFormsCell(CategoriesValidityMixin, CategoriesFilteringMixin, WcsUserDataBaseCell): variable_name = 'user_forms' + loading_message = _('Loading forms...') categories = JSONField(_('Categories'), blank=True, default=dict) current_forms = models.BooleanField(_('Current Forms'), default=True) @@ -544,6 +545,7 @@ class WcsCurrentFormsCell(CategoriesValidityMixin, CategoriesFilteringMixin, Wcs class WcsCurrentDraftsCell(CategoriesValidityMixin, CategoriesFilteringMixin, WcsUserDataBaseCell): variable_name = 'current_drafts' template_name = 'combo/wcs/current_drafts.html' + loading_message = _('Loading drafts...') categories = JSONField(_('Categories'), blank=True, default=dict)