Browse Source

Now displaying subnets without asking for ips.

Hugo Lefeuvre 10 years ago
parent
commit
0863d4b125
1 changed files with 1 additions and 3 deletions
  1. 1 3
      coin/vpn/templates/vpn/vpn.html

+ 1 - 3
coin/vpn/templates/vpn/vpn.html

@@ -47,9 +47,7 @@
                 <tr>
                     <td class="center"><span class="label">Sous-réseaux</span></td>
                     <td>
-                        {% if object.ipv4_endpoint or object.ipv6_endpoint %}<ul>
-                            {% for subnet in object.administrative_subscription.ip_subnet.all %}<li>{{ subnet }}</li>{% endfor %}
-                        </ul>{% else %}<span class="italic">Aucune adresse</span>{% endif %}
+                        {% for subnet in object.administrative_subscription.ip_subnet.all %}{{ subnet }}<br/>{% endfor %}
                     </td>
                 </tr>
             </table>