Skip to content

Commit

Permalink
Merge pull request #3797 from GeotrekCE/hot_fix_services_list
Browse files Browse the repository at this point in the history
[HOTFIX] 🚑 Fix services list display error (refs #3795)
  • Loading branch information
Chatewgne authored Oct 17, 2023
2 parents 61bd046 + 95c90ad commit 3215f8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions geotrek/trekking/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,6 @@ def name_display(self):
self.name)
if self.type.published:
s = '<span class="badge badge-success" title="%s">&#x2606;</span> ' % _("Published") + s
elif self.type.review:
s = '<span class="badge badge-warning" title="%s">&#x2606;</span> ' % _("Waiting for publication") + s
return s

@classproperty
Expand Down

0 comments on commit 3215f8c

Please sign in to comment.