show a message when all tokens have been found

This commit is contained in:
Thomas Steen Rasmussen 2018-08-19 18:53:40 +02:00
parent 387e4c1d87
commit 52d3e827c8

View file

@ -8,7 +8,6 @@ Your Secret Tokens | {{ block.super }}
{% block content %}
<h3>Your Secret Tokens</h3>
{% if object_list %}
<p class="lead">You have found the following secret tokens in the BornHack Secret Token Game:</p>
<table class="table">
<thead>
@ -41,9 +40,8 @@ Your Secret Tokens | {{ block.super }}
{% endfor %}
</tbody>
</table>
{% else %}
<p class="lead">You haven't found any secret tokens yet. Happy hunting!</p>
{% if not unfound_list %}
<p class="lead">Congratulations! You've found all tokens we have created right now.</p>
{% endif %}
<hr>
{% endblock %}