mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-03-31 07:16:04 +01:00
Modification to templates to make them more suitable on a stand alone website.
This commit is contained in:
@@ -106,15 +106,17 @@
|
||||
<h2>References</h2>
|
||||
{{ cave.references|safe }}
|
||||
{% endif %}
|
||||
|
||||
{% if not local %}
|
||||
{% if cave.get_QMs %}
|
||||
<h2>QMs</h2>
|
||||
<a href="{% url 'caveQMs' cave_id|safe %}">QM page for {{ cave_id|safe }}</a>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<h2>Scanned survey notes</h2>
|
||||
<a href="{% url "cavewallets" cave_id %}">{{ cave_id|safe }}</a>
|
||||
|
||||
<h2>Scanned survey notes</h2>
|
||||
<a href="{% url "cavewallets" cave_id %}">{{ cave_id|safe }}</a>
|
||||
{% endif %}
|
||||
|
||||
{% if cave.notes %}
|
||||
<h2>Notes</h2>
|
||||
{{ cave.notes|safe }}
|
||||
@@ -130,7 +132,7 @@
|
||||
{{ ent.entrance_letter|safe }}
|
||||
{% if ent.entrance.name %}
|
||||
{{ ent.entrance.name|safe }}
|
||||
{% endif %}<a class="editlink" href="{% url "editentrance" ent.entrance.url_parent cave.slug ent.entrance.slug %}">Edit</a>
|
||||
{% endif %}<a class="editlink" href="{% if local %}https://expo.survex.com{% endif %}{% url "editentrance" ent.entrance.url_parent cave.slug ent.entrance.slug %}">Edit</a>
|
||||
<dl>
|
||||
{% if ent.entrance.marking %}
|
||||
<dt>Marking</dt><dd>{{ ent.entrance.marking_val|safe }}</dd>
|
||||
@@ -190,7 +192,7 @@
|
||||
</ul>
|
||||
|
||||
{% endif %}</p>
|
||||
<a class="editlink" href="{% url "newentrance" cave.url_parent cave.slug %}">New Entrance</a>
|
||||
<a class="editlink" href="{% if local %}https://expo.survex.com{% endif %}{% url "newentrance" cave.url_parent cave.slug %}">New Entrance</a>
|
||||
</div>
|
||||
<h2>Survex File(s)</h2>
|
||||
All <a href="/survexfile/{{cave.kataster_number}}">survexfiles</a> for this cave <br />
|
||||
|
||||
Reference in New Issue
Block a user