diff --git a/templates/admin.html b/templates/admin.html index 52a2b5c..5f7b5bc 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -24,7 +24,10 @@ {{ registration_code.expiration_time|tojson|safe }} {{ registration_code.usages|tojson|safe }} {{ registration_code.max_usages|tojson|safe }} - link + + {% if not registration_code.is_expired() %} + link + {% endif %}