X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;ds=sidebyside;f=templates%2Finfluences%2Fcharacter_detail.html;h=09afc68bc32aae774684635619f107e26ad36ddf;hb=d482d83e3ebc9c02d6942aac09f7c697aae7ad07;hp=f6c1490270a7d255f2d5a4dc31c6026b8824f068;hpb=4e664befe02922cfd43b36f507892740dfcadde0;p=matthijs%2Fprojects%2Fxerxes.git
diff --git a/templates/influences/character_detail.html b/templates/influences/character_detail.html
index f6c1490..09afc68 100644
--- a/templates/influences/character_detail.html
+++ b/templates/influences/character_detail.html
@@ -1,10 +1,21 @@
+{% extends "base/base.html" %}
{% load i18n %}
-
{{ object.name }}
-{% blocktrans with object.name as name %}Influences for {{ name }}{% endblocktrans %}
+
+{% block content %}
+
+{{ object.name }}
+{% ifequal object.status "N" %}
+{% trans "This character was not yet approved by the SLs" %}
+{% else %}
+{% trans "This character is approved by the SLs" %}
+{% endifequal %}
+{% blocktrans with object.name as name %}Influences for {{ name }}{% endblocktrans %}
-{% for influence in object.influence_set.objects.all %}
- - {{ influence }}
+{% for influence in object.influence_set.all %}
+ - {{ influence }}
{% endfor %}
-{% trans "Submit influence" %}
+{% trans "Submit influence" %}
+
+{% endblock %}