Parcourir la source

Now displaying subnets without asking for ips.

Hugo Lefeuvre il y a 10 ans
Parent
commit
a8183c79ef
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. 1 3
      coin/vpn/templates/vpn/vpn.html

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

@@ -46,9 +46,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>