mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-21 15:14:19 +00:00
Check that the network exists before showing it
This commit is contained in:
parent
3e730c830a
commit
fc0bbbfe83
1 changed files with 10 additions and 8 deletions
|
@ -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 %}
|
Loading…
Reference in a new issue