1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-21 23:24:18 +00:00

Check that the network exists before showing it

This commit is contained in:
Steffo 2017-09-21 09:40:20 +02:00
parent 3e730c830a
commit fc0bbbfe83

View file

@ -123,13 +123,15 @@
</div>
</li>
{% endif %}
<li class="list-group-item">
<h4 class="list-group-item-heading">
Network
</h4>
<div class="list-group-item-text">
<a href="{{ url_for("page_net_details", nid=disp.rete.nid) }}">{{ disp.rete.nome }} - {{ disp.rete.network_ip }}/{{ disp.rete.subnet }}</a>
</div>
</li>
{% if disp.nid %}
<li class="list-group-item">
<h4 class="list-group-item-heading">
Network
</h4>
<div class="list-group-item-text">
<a href="{{ url_for("page_net_details", nid=disp.rete.nid) }}">{{ disp.rete.nome }} - {{ disp.rete.network_ip }}/{{ disp.rete.subnet }}</a>
</div>
</li>
{% endif %}
</ul>
{% endblock %}