2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-04-01 06:51:36 +01:00

Split up tags such that they use ajax

This commit is contained in:
Martin Green
2011-07-11 00:50:07 +01:00
parent 65c55f0f21
commit 5d8a5494cd
7 changed files with 116 additions and 90 deletions

20
templates/cave_qms.html Normal file
View File

@@ -0,0 +1,20 @@
<p>{% if cave.get_QMs %}
<h2>Question marks</h2>
<h3>Extant</h3>
<ul id="cavelist">
{% for QM in cave.get_QMs %}
{% if QM.ticked_off_by %}
{% else %}
<li><a href="{{QM.get_absolute_url}}">{{QM}}</a></li>
{% endif %}
{% endfor %}
</ul>
<h3>Ticked off</h3>
<ul>
{% for QM in cave.get_QMs %}
{% if QM.ticked_off_by %}
<li><a href="{{QM.get_absolute_url}}">{{QM}}</a></li>
{% endif %}
{% endfor %}
</ul>
{% endif %}</p>