From 52d3e827c84561d12afdc96533823c792f5f37b2 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sun, 19 Aug 2018 18:53:40 +0200 Subject: [PATCH] show a message when all tokens have been found --- src/tokens/templates/tokenfind_list.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/tokens/templates/tokenfind_list.html b/src/tokens/templates/tokenfind_list.html index a4a1ad1a..0a4edafe 100644 --- a/src/tokens/templates/tokenfind_list.html +++ b/src/tokens/templates/tokenfind_list.html @@ -8,7 +8,6 @@ Your Secret Tokens | {{ block.super }} {% block content %}

Your Secret Tokens

-{% if object_list %}

You have found the following secret tokens in the BornHack Secret Token Game:

@@ -41,9 +40,8 @@ Your Secret Tokens | {{ block.super }} {% endfor %}
-{% else %} -

You haven't found any secret tokens yet. Happy hunting!

+{% if not unfound_list %} +

Congratulations! You've found all tokens we have created right now.

{% endif %} -
{% endblock %}