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