forked from expo/troggle
add 'lastvisit' field to entrances, for the date
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user