forked from Ruderverein-Donau-Linz/rowt
Merge branch 'staging' of gitlab.com:PhilippHofer/rot into staging
This commit is contained in:
commit
7a622a5615
@ -156,7 +156,7 @@
|
|||||||
{% endmacro show %}
|
{% endmacro show %}
|
||||||
|
|
||||||
{% macro show_old(log, state, allowed_to_close=false, only_ones, index) %}
|
{% macro show_old(log, state, allowed_to_close=false, only_ones, index) %}
|
||||||
<div class="border-t bg-white py-3 px-4 relative" data-filterable="true" data-filter="{{ log.boat.name }} {{ log.shipmaster_user.name }} {% for rower in log.rowers %} {{ rower.name }} {% endfor %}">
|
<div class="border-t bg-white py-3 px-4 relative" data-filterable="true" data-filter="{{ log.boat.name }} {% for rower in log.rowers %} {{ rower.name }} {% endfor %}">
|
||||||
{% if log.logtype %}
|
{% if log.logtype %}
|
||||||
<div class="absolute top-0 right-0 bg-primary-100 rounded-bl-md text-primary-950 text-xs w-32 px-2 py-1 text-center font-bold">
|
<div class="absolute top-0 right-0 bg-primary-100 rounded-bl-md text-primary-950 text-xs w-32 px-2 py-1 text-center font-bold">
|
||||||
{% if log.logtype == 1 %}
|
{% if log.logtype == 1 %}
|
||||||
@ -197,7 +197,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% if amount_guests > 0 or log.rowers | length > 0 %}
|
{% if amount_guests > 0 or log.rowers | length > 0 %}
|
||||||
<div class="text-sm text-gray-600">
|
<div class="text-sm text-gray-600">
|
||||||
Mitruderer:
|
Ruderer:
|
||||||
{% for rower in log.rowers %}
|
{% for rower in log.rowers %}
|
||||||
{{ rower.name }}{% if not loop.last or amount_guests > 0 %}, {% endif %}
|
{{ rower.name }}{% if not loop.last or amount_guests > 0 %}, {% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user