projects
/
matthijs
/
projects
/
xerxes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Use the spring skin instead of the winter skin.
[matthijs/projects/xerxes.git]
/
templates
/
influences
/
character_detail.html
diff --git
a/templates/influences/character_detail.html
b/templates/influences/character_detail.html
index f5071c23b6532bf0d0a0b8ab03df094e280a528e..bf6ac953f190d30fc5fd35eba39d03dd721dafc2 100644
(file)
--- a/
templates/influences/character_detail.html
+++ b/
templates/influences/character_detail.html
@@
-1,16
+1,21
@@
-{% load i18n %}
{% extends "base/base.html" %}
{% extends "base/base.html" %}
+{% load i18n %}
{% block content %}
<h2>{{ object.name }}</h2>
{% block content %}
<h2>{{ object.name }}</h2>
+{% ifequal character.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 %}
<h3>{% blocktrans with object.name as name %}Influences for {{ name }}{% endblocktrans %}</h3>
<ul>
<h3>{% blocktrans with object.name as name %}Influences for {{ name }}{% endblocktrans %}</h3>
<ul>
-{% for influence in object.influence_set.
objects.
all %}
- <li>
{{ influence }}
</li>
+{% for influence in object.influence_set.all %}
+ <li>
<a href="{% url influences_influence_detail influence.pk %}">{{ influence }}</a>
</li>
{% endfor %}
</ul>
{% endfor %}
</ul>
-<a href="
../../add/{{ object.id }
}">{% trans "Submit influence" %}</a>
+<a href="
{% url influences_add_influence_for_character object.id %
}">{% trans "Submit influence" %}</a>
{% endblock %}
{% endblock %}