2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-04-02 07:41:00 +01:00

[svn] Use template block "related" for related objects. Various cleanup, fix personexpedition date views.

This commit is contained in:
substantialnoninfringinguser
2009-07-03 00:50:56 +01:00
parent dab138c731
commit a89139763f
11 changed files with 56 additions and 69 deletions

View File

@@ -1,10 +1,9 @@
{% extends "cavebase.html" %}
{% load wiki_markup %}
{% block editLink %}| <a href={{cave.get_admin_url}}>Edit cave {{cave|wiki_to_html_short}}</a>{% endblock %}
{% block content %}
<div id="col2">
<h3>All logbook entries regarding this cave ({{cave.logbookentry_set.count}})</h3>
{% block related %}
<h2>All logbook entries regarding this cave ({{cave.logbookentry_set.count}})</h2>
<table>
{% for logbookentry in cave.logbookentry_set.all %}
{% if logbookentry.title %}
@@ -15,7 +14,9 @@
{% endif %}
{% endfor %}
</table>
</div>
{% endblock %}
{% block content %}
{% if cave.entrances %}
<h2>Entrances</h2>