* Fix the approved/not approved display in the character_detail display, it always...
[matthijs/projects/xerxes.git] / templates / influences / character_detail.html
index 164310c31524e3d88d6e71569cc249ff61af3367..09afc68bc32aae774684635619f107e26ad36ddf 100644 (file)
@@ -3,8 +3,13 @@
 
 {% block content %}
 
-<h2>{{ object.name }}</h2>
-<h3>{% blocktrans with object.name as name %}Influences for {{ name }}{% endblocktrans %}</h3>
+<h1>{{ object.name }}</h1>
+{% ifequal object.status "N" %}
+<em>{% trans "This character was not yet approved by the SLs" %}</em>
+{% else %}
+<em>{% trans "This character is approved by the SLs" %}</em>
+{% endifequal %}
+<h2>{% blocktrans with object.name as name %}Influences for {{ name }}{% endblocktrans %}</h2>
 <ul>
 {% for influence in object.influence_set.all %}
        <li><a href="{% url influences_influence_detail influence.pk %}">{{ influence }}</a></li>