X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Findex.html;h=02596e1550cdc9801760bcaedb4354159b051cc3;hb=bf8c3434c59c55704ce931a0954bd1e30c4e02f1;hp=109901e9a7aff73811c8a2740be09cb9094d9c10;hpb=089b685a37fa8ecaecba20e10fa6bdcdfe449886;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/influences/index.html b/templates/influences/index.html index 109901e..02596e1 100644 --- a/templates/influences/index.html +++ b/templates/influences/index.html @@ -1,31 +1,15 @@ {% extends "base/base.html" %} -{% load i18n %} {% block content %} -

{% trans "Your characters"%}

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

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

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

{% trans "Add character" %}

- -

{% 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 %}