Revision 548848ba templates/user_routes.html
b/templates/user_routes.html | ||
---|---|---|
4 | 4 |
{% if user.is_authenticated %} |
5 | 5 |
<script type="text/javascript" src="{% url load-js 'poller' %}"></script> |
6 | 6 |
{% endif %} |
7 |
<script type="text/javascript" src="/static/js/jquery.dataTables.js"></script> |
|
8 |
<script type="text/javascript" src="/static/js/datatables_bootstrap.js"></script> |
|
7 |
<script type="text/javascript" src="/fodstatic/js/jquery.dataTables.js"></script>
|
|
8 |
<script type="text/javascript" src="/fodstatic/js/datatables_bootstrap.js"></script>
|
|
9 | 9 |
|
10 | 10 |
<script type="text/javascript"> |
11 | 11 |
|
... | ... | |
295 | 295 |
style="border-bottom:2px dashed red;" |
296 | 296 |
title="Expires {% ifequal route.days_to_expire '0' %}today{% else%}in {{route.days_to_expire}} day{{ route.days_to_expire|pluralize }}{% endifequal %}" |
297 | 297 |
{% endif %}{% endif %}>{{ route.expires }}</span></td> |
298 |
<td style="text-align: center;">{% if route.status == 'EXPIRED' %}{% trans "Rule expired" %}{% else %}{% if route.status == 'ADMININACTIVE' %}{% trans "Suspended by administrator" %}{% else %}{% if route.status == 'INACTIVE' %}{% trans "Suspended by user" %}{% else %}{{ route.response }}{% if route.status == 'PENDING' %}<img src="/static/dots.gif">{% endif %}{% endif %}{% endif %}{% endif %}</td> |
|
298 |
<td style="text-align: center;">{% if route.status == 'EXPIRED' %}{% trans "Rule expired" %}{% else %}{% if route.status == 'ADMININACTIVE' %}{% trans "Suspended by administrator" %}{% else %}{% if route.status == 'INACTIVE' %}{% trans "Suspended by user" %}{% else %}{{ route.response }}{% if route.status == 'PENDING' %}<img src="/fodstatic/dots.gif">{% endif %}{% endif %}{% endif %}{% endif %}</td>
|
|
299 | 299 |
<td style="text-align: center; width:180px;"> |
300 | 300 |
{% ifequal route.status 'ACTIVE' %} |
301 | 301 |
<a href="{% url edit-route route.name %}" class="edit_button btn btn-small" id="edit_button_{{route.pk}}">{% trans "Edit" %}</a> |
Also available in: Unified diff