summaryrefslogtreecommitdiffstats
path: root/templates/calendar.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/calendar.html')
-rw-r--r--templates/calendar.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/calendar.html b/templates/calendar.html
index 70d3ecf..b4ad49d 100644
--- a/templates/calendar.html
+++ b/templates/calendar.html
@@ -49,13 +49,13 @@
<td class="name">
{{ personexpedition.person }}
</td>
+ {% if personexpedition.ListDaysTF %}
{% for dateTF in personexpedition.ListDaysTF %}
<td {{ dateTF|yesno:"class='yes',class='no'"|safe }}></td>
- {% empty %}
- <td colspan="{{ expedition.ListDays|length }}"><center>No data.</center></td>
{% endfor %}
-
-
+ {% else %}
+ <td colspan="{{ expedition.ListDays|length }}"><center>No data.</center></td>
+ {% endif %}
</tr>
{% endfor %}
</table>