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> </div>
</li> </li>
{% endif %} {% endif %}
<li class="list-group-item"> {% if disp.nid %}
<h4 class="list-group-item-heading"> <li class="list-group-item">
Network <h4 class="list-group-item-heading">
</h4> Network
<div class="list-group-item-text"> </h4>
<a href="{{ url_for("page_net_details", nid=disp.rete.nid) }}">{{ disp.rete.nome }} - {{ disp.rete.network_ip }}/{{ disp.rete.subnet }}</a> <div class="list-group-item-text">
</div> <a href="{{ url_for("page_net_details", nid=disp.rete.nid) }}">{{ disp.rete.nome }} - {{ disp.rete.network_ip }}/{{ disp.rete.subnet }}</a>
</li> </div>
</li>
{% endif %}
</ul> </ul>
{% endblock %} {% endblock %}