X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Findex.html;fp=templates%2Finfluences%2Findex.html;h=02596e1550cdc9801760bcaedb4354159b051cc3;hb=bf8c3434c59c55704ce931a0954bd1e30c4e02f1;hp=ccd2da9d670e14cd9a94b731db078011279b0028;hpb=1d73f73f278e35bc1717376a7796ca1643d642b2;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/influences/index.html b/templates/influences/index.html index ccd2da9..02596e1 100644 --- a/templates/influences/index.html +++ b/templates/influences/index.html @@ -1,33 +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 %} - -

{% trans "Add character" %}

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

{% trans "Your influences" %}

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

{% trans "No influences yet." %}

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

{% trans "Submit influence" %}

-{% endif %} {% endblock %}