TICK shown

This commit is contained in:
Philip Sargent 2023-03-16 21:38:03 +00:00
parent 09f5741b71
commit c40b56844f

View File

@ -1,4 +1,5 @@
{% extends "baseapi.html" %}
{% block content %}{
{% for qm in object_list %}"{{qm.id}}": ["{{qm.expoyear}}","{{qm.cave}}","{{qm.blockname}}","QM{{qm.number}}","{{qm.grade}}","{{qm.nearest_station_name}}","{{qm.resolution_station_name}}","{{qm.get_absolute_url}}"]{% if not forloop.last %},{% endif %}
{% 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 %}