mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
ui: Fix regression with configure button in home page
Closes: #1488. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
8a54c2397c
commit
8e5d8da89c
@ -55,9 +55,8 @@
|
|||||||
{% include "clients.html" with clients=clients enabled=service.is_enabled %}
|
{% include "clients.html" with clients=clients enabled=service.is_enabled %}
|
||||||
|
|
||||||
{% if user.is_authenticated and user_is_admin and configure_url %}
|
{% if user.is_authenticated and user_is_admin and configure_url %}
|
||||||
<input type="submit" class="btn btn-primary"
|
<a class="btn btn-primary" href="{{ configure_url }}">
|
||||||
href="{{ configure_url }}"
|
{% trans "Configure »" %}</a>
|
||||||
value="{% trans "Configure »" %}"/>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user