mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
wireguard: Change the names of add client buttons
- Update the tooltip too. Tests: - In the WireGuard page, the two buttons and tooltips have been updated. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
2c49c29008
commit
005bed01a3
1 file changed
+6
-5
@@ -59,17 +59,18 @@
|
||||
<div class="btn-toolbar">
|
||||
<form method="post" action="{% url 'wireguard:auto-add-client' %}">
|
||||
{% csrf_token %}
|
||||
<button type="submit" title="{% trans 'Auto add a new peer' %}"
|
||||
<button type="submit"
|
||||
title="{% trans 'Add a client after generating its keys' %}"
|
||||
class="btn btn-primary btn-auto-add-client">
|
||||
{% icon 'magic' %}
|
||||
{% trans "Add Client Automatically" %}
|
||||
{% icon 'plus' %}
|
||||
{% trans "Add Client" %}
|
||||
</button>
|
||||
</form>
|
||||
<a title="{% trans 'Add a new peer' %}"
|
||||
<a title="{% trans 'Add a client with an existing key' %}"
|
||||
role="button" class="btn btn-default btn-add-client"
|
||||
href="{% url 'wireguard:add-client' %}">
|
||||
{% icon 'plus' %}
|
||||
{% trans "Add Client" %}
|
||||
{% trans "Add Client with an Existing Key" %}
|
||||
</a>
|
||||
</div>
|
||||
{% else %}
|
||||
|
||||
Reference in new issue
Block a user