diff options
Diffstat (limited to 'templates/personindex.html')
-rw-r--r-- | templates/personindex.html | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/templates/personindex.html b/templates/personindex.html index ca8b9b5..c328628 100644 --- a/templates/personindex.html +++ b/templates/personindex.html @@ -5,28 +5,23 @@ {% block content %}
+<table>
+<tr>
+{% for persons in personss %}
+<td>
+<table>
+<tr><th>Person</th><th>First</th><th>Last</th></tr>
{% for person in persons %}
-<div class="personblock"><a href="{% url person person.href%}">{{person|wiki_to_html_short}}</a>
-<ul>
-{% for personexpedition in person.personexpedition_set.all %}
- <li>
-
- <table><tr><td>
- {{personexpedition.expedition}}
- </td><td>
-
- <div>
- {% for persontrip in personexpedition.persontrip_set.all %}
- <a href="{% url logbookentry persontrip.logbook_entry.id %}">{{persontrip.date}}</a>
- {% endfor %}
- </div>
-
- </td></tr></table>
-
- </li>
+<tr>
+ <td><a href="{% url person person.href%}">{{person|wiki_to_html_short}}</a></td>
+ <td><a href="{% url personexpedition person.href person.Firstexpedition.expedition.year %}">{{person.Firstexpedition.expedition.year}}</a></td>
+ <td><a href="{% url personexpedition person.href person.Lastexpedition.expedition.year %}">{{person.Lastexpedition.expedition.year}}</a></td>
+</tr>
{% endfor %}
-</ul>
-</div>
+</table>
+</td>
{% endfor %}
+</tr>
+</table>
{% endblock %}
|