add display of template routes in peer management interface

This commit is contained in:
Eduardo Silva
2026-01-24 11:46:35 -03:00
parent 2c7cdd1ecf
commit e1c1fa4691

View File

@@ -132,6 +132,22 @@
{% trans 'Routing Template' %} {% trans 'Routing Template' %}
</p> </p>
</div> </div>
{% for ip_address in current_peer.routing_template.template_routes %}
<div class="d-flex justify-content-between align-items-center text-muted">
<p>
<span >
<i class="fas fa-network-wired"></i>
{{ ip_address}}
</span>
</p>
<p class="d-flex flex-column text-right small">
{% trans 'Template Route' %}
</p>
</div>
{% endfor %}
{% else %} {% else %}
<div class="d-flex justify-content-between align-items-center border-bottom mb-3"> <div class="d-flex justify-content-between align-items-center border-bottom mb-3">
<p> <p>