From 037a2c8a8173f8c6b7f3af7206ee85bbc44c0553 Mon Sep 17 00:00:00 2001 From: Chatewgne Date: Tue, 17 Oct 2023 09:44:45 +0200 Subject: [PATCH] =?UTF-8?q?[HOTFIX]=20=F0=9F=9A=91=20Fix=20services=20list?= =?UTF-8?q?=20display=20error=20(refs=20#3795)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/changelog.rst | 5 +++++ geotrek/trekking/models.py | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index c19404b117..d98e493eff 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -5,6 +5,11 @@ CHANGELOG 2.101.1+dev (XXXX-XX-XX) ------------------------ +**Bug fixes** + +- Fix services list display error (refs ##3795) + + 2.101.1 (2023-10-06) ------------------------ diff --git a/geotrek/trekking/models.py b/geotrek/trekking/models.py index 5c6fb61ebf..a44b9f383a 100755 --- a/geotrek/trekking/models.py +++ b/geotrek/trekking/models.py @@ -911,8 +911,6 @@ def name_display(self): self.name) if self.type.published: s = ' ' % _("Published") + s - elif self.type.review: - s = ' ' % _("Waiting for publication") + s return s @classproperty