Revision 62353243 templates/user_routes.html

b/templates/user_routes.html
225 225
<table cellpadding="0" cellspacing="0" border="0" class="display" style='width:200px;'>
226 226
				<tbody>
227 227
					<tr>
228
				        <th>ACTIVE</th><th>SUSPENDED</th><th>OUTOFSYNC</th><th>ERROR</th><th>PENDING</th>
228
				        <th>ACTIVE</th><th>SUSPENDED</th><th>ERROR</th><th>PENDING</th>
229 229
					</tr>
230 230
					<tr class="on_off">
231 231
				        <td>
......
234 234
				    
235 235
				        <td>
236 236
				            <input type="checkbox" class="onoff" name="status_filter" value="SUSPENDED" id="show_inactive"/>
237
				        </td>
238
				   
239
				        <td>
240
				            <input type="checkbox" class="onoff" name="status_filter" value="OUTOFSYNC" id="show_outofsync"/>
241
				        </td>
242
				    
237
				        </td>				    
243 238
				        <td>
244 239
				            <input type="checkbox" class="onoff" name="status_filter" value="ERROR" id="show_error"/>
245 240
				        </td>
......
281 276
	<td>{{ route.get_match|safe|escape }}</td>
282 277
	<td style="text-align: center;">{{route.get_then|safe|escape}}</td>
283 278
	<td style="text-align: center; "><span 
284
		{% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' %}
279
		{% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' or route.status == 'OUTOFSYNC'%}
285 280
	    class="statustootipclass" 
286 281
		style="border-bottom:1px dotted red;" 
287
		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{% endifequal %}{% endifequal %}{% endifequal %}"{% endif %}>{% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' %}SUSPENDED{% else %}{{route.status}}{% endif %}</span></td>
282
		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>
288 283
	{% comment %}<td style="text-align: center;">{{ route.response }}</td>{% endcomment %}
289 284
	<td style="text-align: center;">{{ route.applier }}</td>
290 285
	<td style="text-align: center;"><span {% if route.days_to_expire %}

Also available in: Unified diff