Revision 65c5c9ff templates/user_routes.html

b/templates/user_routes.html
283 283
	<td>{{ route.get_match|safe|escape }}</td>
284 284
	<td style="text-align: center;">{{route.get_then|safe|escape}}</td>
285 285
	<td style="text-align: center; "><span {% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' or route.status == 'OUTOFSYNC'%} class="statustootipclass" style="border-bottom:1px dotted red;" 
286
		title = "{% ifequal route.status 'INACTIVE' %}Suspended by user{% else %}{% ifequal route.status 'ADMININACTIVE' %}Suspended by administrator{% else %}{% ifequal route.status 'EXPIRED' %}Suspended due to expiration{% else %}{% ifequal route.status 'OUTOFSYNC' %}Syncronization error. Configuration in device deffers from rule{% endifequal %}{% endifequal %}{% endifequal %}{% endifequal %}"{% endif %}>{% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' %}SUSPENDED{% else %}{% if route.status == 'OUTOFSYNC' %}ERROR{% else %}{{route.status}}{% endif %}{% endif %}</span></td>
286
		title = "{% ifequal route.status 'INACTIVE' %}{% trans "Suspended by user" %}{% else %}{% ifequal route.status 'ADMININACTIVE' %}{% trans "Suspended by administrator" %}{% else %}{% ifequal route.status 'EXPIRED' %}{% trans "Suspended due to expiration" %}{% else %}{% ifequal route.status 'OUTOFSYNC' %}{% trans "Syncronization error. Configuration in device deffers from rule" %}{% endifequal %}{% endifequal %}{% endifequal %}{% endifequal %}"{% endif %}>{% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' %}SUSPENDED{% else %}{% if route.status == 'OUTOFSYNC' %}ERROR{% else %}{{route.status}}{% endif %}{% endif %}</span></td>
287 287
	{% comment %}<td style="text-align: center;">{{ route.response }}</td>{% endcomment %}
288 288
	<td style="text-align: center;">{{ route.applier }}</td>
289 289
	<td style="text-align: center;"><span {% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' or route.status == 'OUTOFSYNC'%}{% else %}{% if route.days_to_expire %}
......
319 319
</tbody>
320 320
</table>
321 321

  
322
<div id="dialog" title="Suspend Rule">
322
<div id="dialog" title="{% trans "Suspend Rule" %}">
323 323
		<p>{% blocktrans %}You are about to suspend rule{% endblocktrans %} <strong><span id="route_to_delete"></span></strong></p>
324 324
		<p>{% blocktrans %}Suspending the rule will automatically remove the configuration from the network and mark this rule as inactive.{% endblocktrans %}</p>
325 325
		<p>{% blocktrans %}Are you sure you want to proceed?{% endblocktrans %}</p>

Also available in: Unified diff