X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Findex.html;h=02596e1550cdc9801760bcaedb4354159b051cc3;hb=0cc5c005cc3e24e3859fe00edfa01f560025a7ee;hp=2cfb5a1a4a2b4a11e47f4935310fed5f03c48313;hpb=216e7e2abfa5096921c4022c65c89298d7b7a4f8;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/influences/index.html b/templates/influences/index.html index 2cfb5a1..02596e1 100644 --- a/templates/influences/index.html +++ b/templates/influences/index.html @@ -1,34 +1,15 @@ -{% load i18n %} {% extends "base/base.html" %} {% block content %} -

{% trans "Your characters"%}

-{% if characters %} - -{% else %} -

{% trans "No characters. Add a character first, so you can submit your influences." %}

-{% endif %} - -

{% trans "Add character" %}

+{% with characters as object_list %} +{% include "influences/character_list_block.html" %} +{% endwith %} -

{% trans "Your influences" %}

-{% if influences %} - -{% else %} -

{% trans "No influences yet." %}

+{% if characters %} +{% with influences as object_list %} +{% include "influences/influence_list_block.html" %} +{% endwith %} {% endif %} -

{% trans "Submit influence" %}

- {% endblock %}