X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Findex.html;h=02596e1550cdc9801760bcaedb4354159b051cc3;hb=0cc5c005cc3e24e3859fe00edfa01f560025a7ee;hp=888aee834ae4f4c370d171433829daa04887bcde;hpb=57bf7e050a270a5ff6149122d81a8a150362dec2;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/influences/index.html b/templates/influences/index.html index 888aee8..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 %}