diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-03-16 21:55:14 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-03-16 21:55:14 +0000 |
commit | 12c7b9b5d1c150b09be2fb6801bb757569169584 (patch) | |
tree | 90c66dae8fd5428b69802d7ed364bfc9e66b8ec4 /templates/core | |
parent | c40b56844f753f1ddf45efc6b66110145ea7aef1 (diff) | |
download | troggle-12c7b9b5d1c150b09be2fb6801bb757569169584.tar.gz troggle-12c7b9b5d1c150b09be2fb6801bb757569169584.tar.bz2 troggle-12c7b9b5d1c150b09be2fb6801bb757569169584.zip |
+ ? grades
Diffstat (limited to 'templates/core')
-rw-r--r-- | templates/core/QMs_json_list.html | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/templates/core/QMs_json_list.html b/templates/core/QMs_json_list.html index 57ba2a1..45fcfa9 100644 --- a/templates/core/QMs_json_list.html +++ b/templates/core/QMs_json_list.html @@ -2,4 +2,20 @@ {% block content %}{ {% for qm in object_list %}"{{qm.id}}": ["{{qm.expoyear}}","{{qm.cave}}",{% if qm.ticked %}"TICKed",{% else %}"OPEN",{% endif %} "{{qm.blockname}}","QM{{qm.number}}","{{qm.grade}}","{{qm.nearest_station_name}}","{{qm.resolution_station_name}}","{{qm.get_absolute_url}}"]{% if not forloop.last %},{% endif %} -{% endfor %} }{% endblock %}
\ No newline at end of file +{% endfor %} } +<br /><br /> +------------------------------------------------------ +Hacked up list of caves with grade "?" +<br /><br /> + +{% for qm in object_list %} +{% if qm.grade == "?" %}<br /> +"{{qm.id}}": ["{{qm.expoyear}}","{{qm.cave}}",{% if qm.ticked %}"TICKed",{% else %}"OPEN",{% endif %} +"{{qm.blockname}}","QM{{qm.number}}","{{qm.grade}}","{{qm.nearest_station_name}}","{{qm.resolution_station_name}}", +<a href="{{qm.get_absolute_url}}">"{{qm.get_absolute_url}}"</a> +]{% if not forloop.last %},{% endif %} +{% endif %} +{% endfor %} } + +{% endblock %} + |