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 %} } +

+------------------------------------------------------ +Hacked up list of caves with grade "?" +

+ +{% for qm in object_list %} +{% if qm.grade == "?" %}
+"{{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 %} +{% endif %} +{% endfor %} } + +{% endblock %} +