-
- {% for post, avatar in posts %}
-
-
- TipPy Blog
-- Neue Nachricht -
-
-
+
-
{% endblock %}
diff --git a/templates/chat.xhtml b/templates/chat.xhtml
new file mode 100644
index 0000000..18bf97d
--- /dev/null
+++ b/templates/chat.xhtml
@@ -0,0 +1,28 @@
+{% load humanize %}
+
-
- {% endfor %}
-
- {{post.author.first_name}} schrieb {{post.created|naturaltime}}
+
-
+
-
+
-
+
TipPy Blog
++ Neue Nachricht +
+
- {% if avatar %}
-
- {% else %}
-
- {% endif %}
- {{post.content|safe}}
-
-
- {% endif %}
- {{post.content|safe}}
-
-
-
-
+
+
-
+
+
+
+ +
+ neuer Post +
+ +-
+ {% for post, avatar in posts %}
+
-
+
+ {% if avatar %}
+
+ {% else %} +
+ {% endif %}
+
+ + + {{ post.created|naturaltime }} + + {{ post.author.first_name }} ++{{ post.content|safe }}
+
+ {% endfor %}
+
-
- TipPy Blog
+ TipPy Blog
{% endblock %}
{% block nav %}
-{% include "nav.html" with ls=ls season=season %}
+ {% include "nav.html" with ls=ls season=season %}
{% endblock %}
{% block body %}
-
-
{% endblock %}
diff --git a/templates/newblogpost.html b/templates/newblogpost.html
index 4b45e87..68899d8 100644
--- a/templates/newblogpost.html
+++ b/templates/newblogpost.html
@@ -1,58 +1,58 @@
{% extends "base.html" %}
{% load i18n static %}
{% block head %}
-Neueste Nachrichten
-- zum Blog -
- {% for post, avatar in posts %} -
-
-
- {{post.author.first_name}} schrieb {{post.created|naturaltime}}
+
-
+
- {% endfor %}
-
+
-
+
Deine Tipps
+ + +
- {% if avatar %}
-
- {% else %}
-
- {% endif %}
- {{post.content|safe}}
-
-
- {% endif %}
- {{post.content|safe}}
-
-
-
-
- Deine Tipps
- - +
+
+
+ Chat
+ {% block chat %} + {% include "chat.xhtml" with posts=posts %} + {% endblock %} +
- {% for mandant, list in mandant_dict.items %}
-
-
-
- {% endfor %}
- Mitspieler {{ mandant }}
-
-
-
-
- | Tipper | -Gesamt | - {% for match in matches %} -
- {% if match.iconURLTeam1 != "" %}
- - {% if match.iconURLTeam2 != "" %} - |
- {% endfor %}
-
|---|---|---|
| {{ mate.mate.first_name }} | -{{ mate.sum_score }} | - {% for tipp in mate.tipps %} -{{ tipp }} | - {% endfor %} - {% endfor %} -
- {% if form_bp.errors %}
-
-
- {% endif %}
- - {% if form_bp.errors.items|length == 1 %} - {% trans "Please correct the error below." %} - {% else %} - {% trans "Please correct the errors below." %} - {% endif %}
-
-
-