mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 07:02:26 +00:00
Adapt preferences' display to new model layout
This commit is contained in:
parent
b269a5f6ef
commit
6df47b08ec
1 changed files with 10 additions and 10 deletions
|
@ -45,50 +45,50 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans "Unknown machine" %}</th>
|
<th>{% trans "Unknown machine" %}</th>
|
||||||
<td>
|
<td>
|
||||||
{% if radiusoptions.unknown_machine.policy == 'REJECT' %}
|
{% if radiusoptions.unknown_machine == 'REJECT' %}
|
||||||
<span class="label label-danger">{% trans "Reject" %}</span>
|
<span class="label label-danger">{% trans "Reject" %}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="label label-success">Vlan {{ radiusoptions.unknown_machine.vlan }}</span>
|
<span class="label label-success">Vlan {{ radiusoptions.unknown_machine_vlan }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans "Unknown port" %}</th>
|
<th>{% trans "Unknown port" %}</th>
|
||||||
<td>
|
<td>
|
||||||
{% if radiusoptions.unknown_port.policy == 'REJECT' %}
|
{% if radiusoptions.unknown_port == 'REJECT' %}
|
||||||
<span class="label label-danger">{% trans "Reject" %}</span>
|
<span class="label label-danger">{% trans "Reject" %}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="label label-success">Vlan {{ radiusoptions.unknown_port.vlan }}</span>
|
<span class="label label-success">Vlan {{ radiusoptions.unknown_port_vlan }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans "Unknown room" %}</th>
|
<th>{% trans "Unknown room" %}</th>
|
||||||
<td>
|
<td>
|
||||||
{% if radiusoptions.unknown_room.policy == 'REJECT' %}
|
{% if radiusoptions.unknown_room == 'REJECT' %}
|
||||||
<span class="label label-danger">{% trans "Reject" %}</span>
|
<span class="label label-danger">{% trans "Reject" %}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="label label-success">Vlan {{ radiusoptions.unknown_room.vlan }}</span>
|
<span class="label label-success">Vlan {{ radiusoptions.unknown_room_vlan }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans "Non member" %}</th>
|
<th>{% trans "Non member" %}</th>
|
||||||
<td>
|
<td>
|
||||||
{% if radiusoptions.non_member.policy == 'REJECT' %}
|
{% if radiusoptions.non_member == 'REJECT' %}
|
||||||
<span class="label label-danger">{% trans "Reject" %}</span>
|
<span class="label label-danger">{% trans "Reject" %}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="label label-success">Vlan {{ radiusoptions.non_member.vlan }}</span>
|
<span class="label label-success">Vlan {{ radiusoptions.non_member_vlan }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans "Banned user" %}</th>
|
<th>{% trans "Banned user" %}</th>
|
||||||
<td>
|
<td>
|
||||||
{% if radiusoptions.unknown_port.policy == 'REJECT' %}
|
{% if radiusoptions.unknown_port == 'REJECT' %}
|
||||||
<span class="label label-danger">{% trans "Reject" %}</span>
|
<span class="label label-danger">{% trans "Reject" %}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="label label-success">Vlan {{ radiusoptions.banned.vlan }}</span>
|
<span class="label label-success">Vlan {{ radiusoptions.banned_vlan }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue