From 95c90ad4ef9d0b222863e1be29d99b7225d34a5f 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 | 1 + geotrek/trekking/models.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 575d5d0953..6ee3281283 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -8,6 +8,7 @@ CHANGELOG **Bug fixes** - Fix Aggregator fails when updating Tour steps order (#3793) +- 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