diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-03-16 21:38:03 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-03-16 21:38:03 +0000 |
commit | c40b56844f753f1ddf45efc6b66110145ea7aef1 (patch) | |
tree | 6c35be66226abfaba4c400c8b6768dace035e42c | |
parent | 09f5741b71c86a8d0c41f33683c88c0da163ce04 (diff) | |
download | troggle-c40b56844f753f1ddf45efc6b66110145ea7aef1.tar.gz troggle-c40b56844f753f1ddf45efc6b66110145ea7aef1.tar.bz2 troggle-c40b56844f753f1ddf45efc6b66110145ea7aef1.zip |
TICK shown
-rw-r--r-- | templates/core/QMs_json_list.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/core/QMs_json_list.html b/templates/core/QMs_json_list.html index 7d157df..57ba2a1 100644 --- a/templates/core/QMs_json_list.html +++ b/templates/core/QMs_json_list.html @@ -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 %}
\ No newline at end of file |