stops green / red to indicate has_point or not works on route view

This commit is contained in:
Sanj 2012-02-16 19:34:21 +05:30
parent 74a49b24a8
commit 0e241fb610

View File

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