Revision 7c4bc8de templates/user_routes.html
b/templates/user_routes.html | ||
---|---|---|
170 | 170 |
<td style="text-align: center;">{{route.get_then|safe|escape}}</td> |
171 | 171 |
<td style="text-align: center; "> |
172 | 172 |
<span |
173 |
{% if route.days_to_expire %} |
|
173 |
{% if route.days_to_expire and route.days_to_expire >= 0 %}
|
|
174 | 174 |
class="expiresclass" |
175 | 175 |
style="border-bottom:2px dashed red;" |
176 |
title="Expires in {{route.days_to_expire}} day{{route.days_to_expire|pluralize}}"
|
|
176 |
title="Expires {% ifequal route.days_to_expire '0' %}today{% else%}in {{route.days_to_expire}} day{{ route.days_to_expire|pluralize }}{% endifequal %}"
|
|
177 | 177 |
{% endif %}>{{route.status}} |
178 | 178 |
</span> |
179 | 179 |
</td> |
Also available in: Unified diff