X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Findex.html;h=02596e1550cdc9801760bcaedb4354159b051cc3;hb=0cc5c005cc3e24e3859fe00edfa01f560025a7ee;hp=e95fd02e1f1aff6b00e8112e02d37847ccc7f598;hpb=a42aa658270f07f99ccd2c4e6595e33728b64792;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/influences/index.html b/templates/influences/index.html index e95fd02..02596e1 100644 --- a/templates/influences/index.html +++ b/templates/influences/index.html @@ -1,28 +1,15 @@ -{% load i18n %} -

{% trans "Your characters"%}

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

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

-{% endif %} +{% extends "base/base.html" %} -

{% trans "Add character" %}

+{% block content %} -

{% trans "Your influences" %}

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

{% trans "No influences yet." %}

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

{% trans "Submit influence" %}

+{% endblock %}