Add update information to index page.
[matthijs/projects/xerxes.git] / templates / influences / index.html
index 109901e9a7aff73811c8a2740be09cb9094d9c10..5f53b5ecca4aab7e511db54dbf0ae6d0ac32ed27 100644 (file)
@@ -1,31 +1,48 @@
 {% extends "base/base.html" %}
+
 {% load i18n %}
 
 {% block content %}
 
-<h2>{% trans "Your characters"%}</h2>
-{% if characters %}
-       <ul>
-       {% for character in characters %}
-               <li><a href="{% url influences_character_detail character.id %}">{{ character.name }}</a></li>
-       {% endfor %}
-       </ul>
-{% else %}
-       <p>{% trans "No characters. Add a character first, so you can submit your influences." %}</p>
+{% block intro %}
+<h1>{% trans "Xerxes update (2008.11.16)" %}</h1>
+{% blocktrans %}
+<p>Just in time to receive all the influences after Lextalionis VI, we've
+updated Xerxes with a some new features and bugfixes. A lot of them are
+behind the scenes, but what you will immediately notice is the option to
+comment on your influences.</p>
+
+<p>This commenting feature can be used by you to provide additional
+information when needed, and by the SL's to ask extra questions and give
+feedback.</p>
+
+<p>You will automatically receive an email when any comments are posted
+or the result of the influence is known, so there is no need to keep
+checking back here.</p>
+{% endblocktrans %}
+{% if request.user.is_staff %}
+<h2>{% trans "For SL's" %}</h2>
+{% blocktrans %}
+<p>When posting comments, you have an extra option: Making comments
+private. By unchecking the "Is public" checkbox, a comment will be
+private. This means it is visible to SL's only, and no notification will
+be sent to the player either.</p>
+
+<p>Also, there is now a Todo field on each influence, to be able to note
+down todo points. There is no handy way for selecting all todo's in a
+single page, but I'll add that if that would help.</p>
+{% endblocktrans %}
 {% endif %}
+{% endblock %}
 
-<p><a href="{% url influences_add_character %}">{% trans "Add character" %}</a></p>
-
-<h2>{% trans "Your influences" %}</h2>
-{% if influences %}
-       <ul>
-       {% for influence in influences %}
-        <li>{{influence.contact }} -- {{ influence.summary }} </li>
-       {% endfor %}
-       </ul>
-{% else %}
-       <p>{% trans "No influences yet." %}</p>
+{% with characters as object_list %}
+{% include "influences/character_list_block.html" %}
+{% endwith %}
+
+{% if characters %}
+{% with influences as object_list %}
+{% include "influences/influence_list_block.html" %}
+{% endwith %}
 {% endif %}
 
-<p><a href="{% url influences_add_influence %}">{% trans "Submit influence" %}</a></p>
 {% endblock %}