Added auto removal of expired pastas

This commit is contained in:
Dániel Szabó 2022-04-11 14:41:28 +01:00
parent 5bae4310a3
commit 22b61fc793
7 changed files with 59 additions and 13 deletions

View file

@ -1,4 +1,11 @@
{% include "header.html" %}
{% if pastas.is_empty() %}
<p>
No pastas yet. 😔 Create one <a href="/">here</a>.
</p>
{%- else %}
<table style="width: 100%" border="1">
<tr style="background: lightgrey">
<th>
@ -31,10 +38,5 @@
</tr>
{% endfor %}
</table>
{% if pastas.is_empty() %}
<p>
No Pastas :-(
</p>
{%- endif %}
{% include "footer.html" %}