diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/cave_entrances.html | 3 | ||||
-rw-r--r-- | templates/dataformat/entrance.xml | 1 | ||||
-rw-r--r-- | templates/entrance.html | 4 |
3 files changed, 8 insertions, 0 deletions
diff --git a/templates/cave_entrances.html b/templates/cave_entrances.html index e3a571f..ed02e68 100644 --- a/templates/cave_entrances.html +++ b/templates/cave_entrances.html @@ -24,6 +24,9 @@ {% if ent.entrance.location_description %} <dt>Location</dt><dd>{{ ent.entrance.location_description|safe }}</dd> {% endif %} + {% if ent.entrance.lastvisit %} + <dt>Location</dt><dd>{{ ent.entrance.lastvisit|safe }}</dd> + {% endif %} {% if ent.entrance.approach %} <dt>Approach</dt><dd>{{ ent.entrance.approach|safe }}</dd> {% endif %} diff --git a/templates/dataformat/entrance.xml b/templates/dataformat/entrance.xml index 1ed4f37..86c023d 100644 --- a/templates/dataformat/entrance.xml +++ b/templates/dataformat/entrance.xml @@ -22,6 +22,7 @@ <explorers>{{ entrance.explorers|default_if_none:""|safe }}</explorers> <map_description>{{ entrance.map_description|default_if_none:""|safe }}</map_description> <location_description>{{ entrance.location_description|default_if_none:""|safe }}</location_description> +<lastvisit>{{ entrance.lastvisit|default_if_none:""|safe }}</lastvisit> <approach>{{ entrance.approach|default_if_none:""|safe }}</approach> <underground_description>{{ entrance.underground_description|default_if_none:""|safe }}</underground_description> <photo>{{ entrance.photo|default_if_none:"<img src='/1623/000/000.jpg' />"|safe }}</photo> diff --git a/templates/entrance.html b/templates/entrance.html index dcd2970..52ec589 100644 --- a/templates/entrance.html +++ b/templates/entrance.html @@ -45,6 +45,10 @@ <h2>Location Description</h2> {{ entrance.location_description|safe }} {% endif %} +{% if entrance.lastvisit %} + <h2>Last Visit Date</h2> + {{ entrance.llastvisit|safe }} +{% endif %} {% if entrance.approach %} <h2>Approach</h2> {{ entrance.approach|safe }} |