Skip to content

Commit

Permalink
[HOTFIX] 🚑 Fix services list display error (refs #3795)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chatewgne committed Oct 17, 2023
1 parent aa2fae5 commit 037a2c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
------------------------

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 037a2c8

Please sign in to comment.