-
-
- Deine Tipps
+
+
- Deine Tipps
- {% for mandant, list in mandant_dict.items %}
-
-
-
-
- {% endfor %}
- Mitspieler {{ mandant }}
+ + {% for mandant, list in mandant_dict.items %} +Mitspieler {{ mandant }}
-
-
+ Chat
+ {% endfor %} +
+ Tipps
Bestenliste
Blog
+ {% if request.user.is_active and request.user.is_staff %}
+ Staff
+ {% endif %}
Chat
{% block chat %} {% include "chat.xhtml" with posts=posts %} {% endblock %} diff --git a/templates/nav.html b/templates/nav.html index e75dd27..1150658 100644 --- a/templates/nav.html +++ b/templates/nav.html @@ -16,6 +16,9 @@-
{% if has_refresh %}
diff --git a/templates/staff.html b/templates/staff.html
new file mode 100644
index 0000000..7aafb31
--- /dev/null
+++ b/templates/staff.html
@@ -0,0 +1,34 @@
+{% extends "base.html" %}
+{% load i18n static %}
+{% load humanize %}
+{% block head %}
+
+{% endblock %}
+
+{% block nav %}
+ {% include "nav.html" with ls=ls season=season %}
+{% endblock %}
+
+{% block body %}
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/tipp/models.py b/tipp/models.py
index db1235a..94ea07e 100644
--- a/tipp/models.py
+++ b/tipp/models.py
@@ -17,9 +17,9 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with TipPy. If not, see
+
+ {% if debug %}
+
+
+ {% endfor %} + +
+ Wettbewerbe
+ {% for comp in competitions %} + {{ comp }}+ {% endfor %} + +
+
+ {% endif %}
+
+
+ {% trans 'Debug' %}
+ {% for line in debug %} +{{ line }}
+ {% endfor %} +