cave formatting

This commit is contained in:
2025-11-21 23:56:28 +02:00
parent 8d5fa586ca
commit 90ae23fc05
3 changed files with 4 additions and 4 deletions

View File

@@ -142,7 +142,7 @@ Nope, it is not useful, removing it... Philip S.
<br /><li> <br /><li>
Id letter: '{{ ent.entranceletter|safe}}' Id letter: '{{ ent.entranceletter|safe}}'
{% if ent.entrance.name %} {% if ent.entrance.name %}
{{ ent.entrance.name|safe }} {{ ent.entrance.name|safe }} <!-- not working correctly?-->
{% endif %}<a class="editlink" href="{% if local %}https://expo.survex.com{% endif %}{% url "editentrance" cave.slug ent.entrance.slug %}">Edit this entrance</a> {% endif %}<a class="editlink" href="{% if local %}https://expo.survex.com{% endif %}{% url "editentrance" cave.slug ent.entrance.slug %}">Edit this entrance</a>
<dl> <dl>
{% if ent.entrance.marking %} {% if ent.entrance.marking %}
@@ -239,7 +239,7 @@ cave survex path '{{ cave.areacode }}/{% if cave.kataster_number %}{{cave.katast
{% if cave.explorers %} {% if cave.explorers %}
<h3>Initially explored by</h3> <h3>Initially explored by</h3>
<p> {{ cave.explorers|safe }}<br /> <p> {{ cave.explorers|safe }}<br />
<p>[This field is a fossil: it used to show whether the cave was explored by CUCC/expo or by another group, but that information is now available in the survex files recording the surveying, see <a href="/survexfile/{{cave.survex_file}}">the primary survex file</a>. However, some caves do not have any survex files, in which case this information is worth keeping.] <p>[This field is a fossil: it used to show whether the cave was explored by CUCC/expo or by another group, but that information is now available in the survex files recording the surveying, see <a href="/survexfile/{{cave.survex_file}}">the primary survex file</a>. However, some caves do not have any survex files, or the original survex files have been replaced by a resurvey, in which case this information is worth keeping.]
{% endif %} {% endif %}
<div id='scene'></div> <div id='scene'></div>
{% endif %} {% endif %}

View File

@@ -5,7 +5,7 @@
{% block content %} {% block content %}
<h1>Recent Caves Index</h1> <h1>Recent Caves Index</h1>
<h3>Notable caves</h3> <h3>Notable caves of current interest</h3>
<ul> <ul>
{% for cave in notablecaves %} {% for cave in notablecaves %}
<li> {{ cave.areacode }} <a href="/{{ cave.url }}"> <li> {{ cave.areacode }} <a href="/{{ cave.url }}">

View File

@@ -82,7 +82,7 @@ LOGMESSAGES
--> -->
{% endif %} {% endif %}
</div> </div>
underground survey length: {{svxlength|floatformat:2}} metres<br /> underground survey length: {{svxlength|floatformat:"2g"}} metres<br />
<a href="/{{survexfile.cave.url}}">cave</a> primary survexfile <a href="/survexfile/{{ survexfile.cave.survex_file }}">{{survexfile.cave.survex_file}}</a> <br> <a href="/{{survexfile.cave.url}}">cave</a> primary survexfile <a href="/survexfile/{{ survexfile.cave.survex_file }}">{{survexfile.cave.survex_file}}</a> <br>
directory primary survexfile <a href="/survexfile/{{survexfile.primary}}.svx">{{survexfile.primary}}</a> <br /> directory primary survexfile <a href="/survexfile/{{survexfile.primary}}.svx">{{survexfile.primary}}</a> <br />
{% for sb in svxblocks %} {% for sb in svxblocks %}