X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fxerxes.git;a=blobdiff_plain;f=templates%2Finfluences%2Fcharacter_detail_block.html;h=ae325f2486dfe42a151e78e305fdd0c645de8bb7;hp=b0211d7bf479ded7f8f85bb5ae68e7c984a94d27;hb=86800ade2dc1966a05ddc437ca67111dd87fd34f;hpb=d6558353b23b3f16e319e233d1a6dbd190d7e3bf diff --git a/templates/influences/character_detail_block.html b/templates/influences/character_detail_block.html index b0211d7..ae325f2 100644 --- a/templates/influences/character_detail_block.html +++ b/templates/influences/character_detail_block.html @@ -6,18 +6,25 @@ {% trans "This character is approved by the SLs" %} {% endifequal %} -

{% blocktrans with object.name as name %}Influences initiated by {{ name }}{% endblocktrans %}

- - -

{% blocktrans with object.name as name %}Influences {{ name }} is involved in{% endblocktrans %}

- +{% if object.initiated_influences.all or object.influences_involved_in.all %} + {% if object.initiated_influences.all %} +

{% blocktrans with object.name as name %}Influences initiated by {{ name }}{% endblocktrans %}

+ + {% endif %} + {% if object.influences_involved_in.all %} +

{% blocktrans with object.name as name %}Influences {{ name }} is involved in{% endblocktrans %}

+ + {% endif %} +{% else %} +

{% trans "No influences yet." %}

+{% endif %} {% trans "Submit influence" %}