mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
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:
parent
8a7e70aab2
commit
643a06c7cd
@ -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 %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user