From d139bf9a60727bc990d1e76244e620cdeac2371d Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Wed, 27 Sep 2023 15:55:17 +0200 Subject: [PATCH] [BUGFIX] wordings --- templates/includes/forms/log.html.tera | 18 +++++++++++------- templates/stat.html.tera | 2 +- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/templates/includes/forms/log.html.tera b/templates/includes/forms/log.html.tera index c16b946..6118eb6 100644 --- a/templates/includes/forms/log.html.tera +++ b/templates/includes/forms/log.html.tera @@ -191,7 +191,7 @@ {% macro show_old(log, state, allowed_to_close=false, only_ones, index) %}
- {{ log.boat.name }} ({{ log.shipmaster_user.name }}{% if log.shipmaster_only_steering %} - handgesteuer {% endif %}) + {{ log.boat.name }} ({{ log.shipmaster_user.name }}{% if log.shipmaster_only_steering %} - handgesteuert {% endif %}) {{ log.departure | date(format='%d.%m.%Y - %H:%M') }} {% if state == "completed" %}- {{ log.arrival | date(format='%d.%m.%Y - %H:%M') }}{% endif %} {% set amount_rowers = log.rowers | length %} {% set amount_guests = log.boat.amount_seats - amount_rowers -1 %} @@ -209,18 +209,22 @@ {% endif %} {% if amount_guests > 0 %} {{ amount_guests }} - Gäste (ohne Account) + Gäste (ohne Account), {% endif %} {% for rower in log.rowers %} - {{ rower.name }} + {{ rower.name }}, {% endfor %} {% if log.comments %} - Kommentare: - {{ log.comments }}
+
+ Kommentare: + {{ log.comments }} +
{% endif %} {% if log.logtype %} - Logtype: - {{ log.logtype }}
+
+ Logtype: + {{ log.logtype }} +
{% endif %} {% endif %}
diff --git a/templates/stat.html.tera b/templates/stat.html.tera index 6152ae6..50fcb48 100644 --- a/templates/stat.html.tera +++ b/templates/stat.html.tera @@ -11,7 +11,7 @@ {% for s in stat %}
  • {{s.name}} - {{s.rowed_km}}km + {{s.rowed_km}} km
  • {% endfor %}