forked from expo/troggle
+ ? grades
This commit is contained in:
parent
c40b56844f
commit
12c7b9b5d1
@ -2,4 +2,20 @@
|
|||||||
{% block content %}{
|
{% block content %}{
|
||||||
{% for qm in object_list %}"{{qm.id}}": ["{{qm.expoyear}}","{{qm.cave}}",{% if qm.ticked %}"TICKed",{% else %}"OPEN",{% 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 %}
|
"{{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 %}
|
{% 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 %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user