mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
diagnostics: Enable button when enabled but not running
Signed-off-by: Shubham Agarwal <shubhama@thoughtworks.com> Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
8cfe908022
commit
f11dd191c1
@ -111,7 +111,7 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
{% include "diagnostics_button.html" with module="openvpn" enabled=status.is_running %}
|
||||
{% include "diagnostics_button.html" with module="openvpn" enabled=status.enabled %}
|
||||
|
||||
<h3>{% trans "Configuration" %}</h3>
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
{% include "diagnostics_button.html" with module="tor" enabled=status.is_running %}
|
||||
{% include "diagnostics_button.html" with module="tor" enabled=status.enabled %}
|
||||
|
||||
{% if status.hs_enabled %}
|
||||
<div class="row">
|
||||
|
||||
@ -59,7 +59,7 @@
|
||||
|
||||
{% block diagnostics %}
|
||||
{% if diagnostics_module_name %}
|
||||
{% include "diagnostics_button.html" with module=diagnostics_module_name enabled=service.is_running %}
|
||||
{% include "diagnostics_button.html" with module=diagnostics_module_name enabled=service.is_enabled %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user