forked from expo/troggle
Add editlink classes for editing the entrances
This commit is contained in:
parent
ec3ebe8499
commit
90862e9a89
@ -124,7 +124,7 @@
|
|||||||
{{ ent.entrance_letter|safe }}
|
{{ ent.entrance_letter|safe }}
|
||||||
{% if ent.entrance.name %}
|
{% if ent.entrance.name %}
|
||||||
{{ ent.entrance.name|safe }}
|
{{ ent.entrance.name|safe }}
|
||||||
{% endif %}<a href="{% url "editentrance" ent.entrance.url_parent cave.slug ent.entrance.slug %}">Edit</a>
|
{% endif %}<a class="editlink" href="{% url "editentrance" ent.entrance.url_parent cave.slug ent.entrance.slug %}">Edit</a>
|
||||||
<dl>
|
<dl>
|
||||||
{% if ent.entrance.marking %}
|
{% if ent.entrance.marking %}
|
||||||
<dt>Marking</dt><dd>{{ ent.entrance.marking_val|safe }}</dd>
|
<dt>Marking</dt><dd>{{ ent.entrance.marking_val|safe }}</dd>
|
||||||
@ -184,7 +184,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{% endif %}</p>
|
{% endif %}</p>
|
||||||
<a href="{% url "newentrance" cave.url_parent cave.slug %}">New Entrance</a>
|
<a class="editlink" href="{% url "newentrance" cave.url_parent cave.slug %}">New Entrance</a>
|
||||||
</div>
|
</div>
|
||||||
<h2>Survex File(s)</h2>
|
<h2>Survex File(s)</h2>
|
||||||
All <a href="/survexfile/{{cave.kataster_number}}">survexfiles</a> for this cave {<br />
|
All <a href="/survexfile/{{cave.kataster_number}}">survexfiles</a> for this cave {<br />
|
||||||
|
Loading…
Reference in New Issue
Block a user