forked from expo/troggle
Modification to templates to make them more suitable on a stand alone website.
This commit is contained in:
parent
52299fb6fd
commit
973d05f9fb
@ -106,14 +106,16 @@
|
||||
<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>
|
||||
@ -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 />
|
||||
|
@ -1,5 +1,5 @@
|
||||
<dl>
|
||||
<a href="/{{entrance.cavelist.0.url }}">Cave: {{entrance.cavelist.0.name }}</a>
|
||||
<a href="/{{entrance.cavelist.0.url }}">Cave: {{entrance.cavelist.0 }}</a>
|
||||
{% if entrance.marking %}
|
||||
<dt>Marking</dt><dd>{{ entrance.marking_val|safe }}</dd>
|
||||
{% endif %}
|
||||
|
@ -42,8 +42,8 @@
|
||||
<li><form name=P method=get action="/search" target="_top">
|
||||
<input id="omega-autofocus" type=search name=P size=8 autofocus>
|
||||
<input type=submit value="Search"></form></li>
|
||||
{% if editable %}<li><a href="{% url "editexpopage" path %}" class="editlink"><strong>Edit this page</strong></a></li>{% endif %}
|
||||
{% if cave_editable %}<li><a href="{% url "edit_cave" cave.url_parent cave.slug %}" class="editlink"><strong>Edit this cave</strong></a></li>{% endif %}
|
||||
{% if editable %}<li><a href="{% if local %}https://expo.survex.com{% endif %}{% url "editexpopage" path %}" class="editlink"><strong>Edit this page</strong></a></li>{% endif %}
|
||||
{% if cave_editable %}<li><a href="{% if local %}https://expo.survex.com{% endif %}{% url "edit_cave" cave.url_parent cave.slug %}" class="editlink"><strong>Edit this cave</strong></a></li>{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user