diff --git a/templates/includes/forms/log.html.tera b/templates/includes/forms/log.html.tera index 2f42781..844d7a0 100644 --- a/templates/includes/forms/log.html.tera +++ b/templates/includes/forms/log.html.tera @@ -186,8 +186,21 @@ {% endmacro show %} {% macro show_old(log, state, allowed_to_close=false, only_ones, index) %} -
-
+
+ {% if log.logtype %} +
+ {% if log.logtype == 1 %} + Wanderfahrt + {% else %} + {% if log.logtype == 2 %} + Regatta + {% else %} + {{ log.logtype }} + {% endif %} + {% endif %} +
+ {% endif %} +
{{ log.boat.name }} ({{ log.shipmaster_user.name }}{% if log.shipmaster_only_steering %} - handgesteuert {% endif %}) @@ -224,12 +237,6 @@ {% endif %}
{% endif %} - {% if log.logtype %} -
- Logtype: - {{ log.logtype }} -
- {% endif %} {% endif %}