diff options
-rw-r--r-- | templates/cave_qms.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/cave_qms.html b/templates/cave_qms.html index c1ae81f..47dcea5 100644 --- a/templates/cave_qms.html +++ b/templates/cave_qms.html @@ -29,7 +29,8 @@ {% for QM in cave.get_QMs %} {% if QM.ticked %} {% else %} - <li><a href="{{QM.get_absolute_url}}">{{QM}}</a> :: {{QM.nearest_station_description}} {{QM.location_description}} <b>{{QM.grade}}</b> + <li><a href="{{QM.get_absolute_url}}">{{QM}}</a> + {% if QM.nearest_station_description %}⋮<em>{{QM.nearest_station_description}}</em>⋮{% endif %} {{QM.location_description}} <b>{{QM.grade}}</b> {% if QM.block %} <a href="/survexfile/{{QM.block.survexfile.path}}.svx">{{QM.block}}.svx</a> {{QM.block.date}} {% endif %}</li> {% endif %} {% endfor %} @@ -38,7 +39,8 @@ <ul> {% for QM in cave.get_QMs %} {% if QM.ticked %} - <li><a href="{{QM.get_absolute_url}}">{{QM}}</a> :: {{QM.nearest_station_description}} {{QM.location_description}} <b>{{QM.grade}}</b> + <li><a href="{{QM.get_absolute_url}}">{{QM}}</a> + {% if QM.nearest_station_description %}⋮<em>{{QM.nearest_station_description}}</em>⋮{% endif %} {{QM.location_description}} <b>{{QM.grade}}</b> {% if QM.block %} <a href="/survexfile/{{QM.block.survexfile.path}}.svx">{{QM.block}}.svx</a> {{QM.block.date}} {% endif %} {% if QM.completion_description %} |