projects
/
matthijs
/
projects
/
xerxes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* No longer use any generic views, since we will need to add access checks anyway...
[matthijs/projects/xerxes.git]
/
templates
/
influences
/
index.html
diff --git
a/templates/influences/index.html
b/templates/influences/index.html
index 888aee834ae4f4c370d171433829daa04887bcde..ccd2da9d670e14cd9a94b731db078011279b0028 100644
(file)
--- a/
templates/influences/index.html
+++ b/
templates/influences/index.html
@@
-3,7
+3,7
@@
{% block content %}
{% block content %}
-<h
2>{% trans "Your characters"%}</h2
>
+<h
1>{% trans "Your characters"%}</h1
>
{% if characters %}
<ul>
{% for character in characters %}
{% if characters %}
<ul>
{% for character in characters %}
@@
-16,11
+16,12
@@
<p><a href="{% url influences_add_character %}">{% trans "Add character" %}</a></p>
<p><a href="{% url influences_add_character %}">{% trans "Add character" %}</a></p>
-<h2>{% trans "Your influences" %}</h2>
+{% if characters %}
+<h1>{% trans "Your influences" %}</h1>
{% if influences %}
<ul>
{% for influence in influences %}
{% if influences %}
<ul>
{% for influence in influences %}
- <li>
{{ influence.character }} -- {{ influence.contact }} -- {{ influence.description }}
</li>
+ <li>
<a href="{% url influences_influence_detail influence.id %}">{{influence.contact }} -- {{ influence.summary }}</a>
</li>
{% endfor %}
</ul>
{% else %}
{% endfor %}
</ul>
{% else %}
@@
-28,4
+29,5
@@
{% endif %}
<p><a href="{% url influences_add_influence %}">{% trans "Submit influence" %}</a></p>
{% endif %}
<p><a href="{% url influences_add_influence %}">{% trans "Submit influence" %}</a></p>
+{% endif %}
{% endblock %}
{% endblock %}