wireguard: Fix format when showing multiple endpoints of the server

- Show them in multiple lines using <pre> like before.

Tests:

- Multiple endpoints are shown in the one line each using <pre> tag.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2026-02-26 22:30:27 -08:00 committed by James Valleroy
parent 8a7e70aab2
commit 643a06c7cd
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -31,8 +31,9 @@
<tr>
<td>{% trans "Endpoint(s)" %}</td>
<td>
{% for endpoint in server_endpoints %}{{ endpoint }}
{% endfor %}</td>
<pre>{% for endpoint in server_endpoints %}{{ endpoint }}
{% endfor %}</pre>
</td>
</tr>
<tr>
<td>
@ -104,7 +105,6 @@
</div>
{% endif %}
<h3>{% trans "As a Client" %}</h3>
<p>
{% blocktrans trimmed %}