fix "open" label (#19286)
This commit is contained in:
parent
30825e03ef
commit
19a2a3c18e
|
@ -89,7 +89,7 @@ def as_opening_hours_badge(data):
|
|||
klass = 'soon-to-be-closed'
|
||||
else:
|
||||
klass = 'open'
|
||||
label = 'Ouvert jusque %sh%02d' % (slots[0].end.hour, slots[0].end.minute)
|
||||
label = u"Ouvert jusqu'à %sh%02d" % (slots[0].end.hour, slots[0].end.minute)
|
||||
|
||||
return mark_safe('<div class="badge %s"><span>%s</span></div>' % (klass, label))
|
||||
|
||||
|
|
Loading…
Reference in New Issue