From 62e46f89cf79ec0af2e8a6da6fed7a5f1dddc9dd Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Sat, 18 Apr 2009 14:21:16 +0200 Subject: [PATCH] JS is now generated for Anon too --- template/mumble/mumble.htm | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/template/mumble/mumble.htm b/template/mumble/mumble.htm index 8c5dd84..cb2c4c2 100644 --- a/template/mumble/mumble.htm +++ b/template/mumble/mumble.htm @@ -9,8 +9,16 @@ {% include "mumble/content.htm" %} {% endblock %} {% block Content %} - {% if user.is_authenticated %} +
+ {% if user.is_authenticated %}

Server registration

{% if Registered %} @@ -24,16 +32,10 @@
-
{% else %}

You need to be logged in to be able to register an account.

- {% endif %} + {% if CurrentUserIsAdmin %}
@@ -68,11 +70,12 @@ {% endblock %} {% block HeadTag %} - {% if CurrentUserIsAdmin %} - {% endif %} {% endblock %}