diff --git a/billard/templatetags/display_client.py b/billard/templatetags/display_client.py index 262e865..27fc38d 100644 --- a/billard/templatetags/display_client.py +++ b/billard/templatetags/display_client.py @@ -37,14 +37,14 @@ def display_client(client, desk_no): html += '
\n'.format(alert) html += '

({}) {}

\n'.format(desk_no, desk.name) if loc.happy_hour_start is not None and desk.prize_hh is not None: - html += '
Preis: {:.2f} € / Stunde | {} - {}: {:.2f} / € Stunde\n'\ + html += '
Preis: {:.2f} € / Stunde | {} - {}: {:.2f} / € Stunde
\n'\ .format( desk.prize, - loc.happy_hour_start, - loc.happy_hour_end, + loc.happy_hour_start.strftime('%H:%M'), + loc.happy_hour_end.strftime('%H:%M'), desk.prize_hh,) else: - html += '
Preis: {0:.2f} / Stunde\n'.format( + html += '
Preis: {0:.2f} / Stunde
\n'.format( desk.prize,) if len(acc) > 0: html += ' \n'