stops green / red to indicate has_point or not works on route view
This commit is contained in:
parent
74a49b24a8
commit
0e241fb610
|
@ -23,7 +23,7 @@ a:hover {
|
||||||
<ul id="stopList">
|
<ul id="stopList">
|
||||||
{% for r in routeDetails %}
|
{% for r in routeDetails %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ r.stop.get_absolute_url }}" class="{% if has_point %} has_point {% else %} no_point {% endif %}">{{ r.stop.name }}</a>
|
<a href="{{ r.stop.get_absolute_url }}" class="{% if r.stop.point %} has_point {% else %} no_point {% endif %}">{{ r.stop.name }}</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user