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