summaryrefslogtreecommitdiffstats
path: root/templates/cave_qms.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/cave_qms.html')
-rw-r--r--templates/cave_qms.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/cave_qms.html b/templates/cave_qms.html
new file mode 100644
index 0000000..9a7f23a
--- /dev/null
+++ b/templates/cave_qms.html
@@ -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>