letsencrypt: Use app.html instead of simple_app.html

- Produce a diagnostics button using app.html code instead of a custom button.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2019-12-01 16:40:44 -05:00
1 parent a4fc1181b5
commit 69663df5c6
2 files changed
+4 -3

No files matched your search

@@ -1,4 +1,4 @@
{% extends "simple_app.html" %}
{% extends "app.html" %}
{% comment %}
#
# This file is part of FreedomBox.
@@ -127,8 +127,6 @@
</tbody>
</table>
{% include "diagnostics_button.html" with module="letsencrypt" enabled=True %}
{% else %}
{% url 'config:index' as config_url %}
{% blocktrans trimmed %}
+3
View File
@@ -39,9 +39,12 @@ def index(request):
return TemplateResponse(
request, 'letsencrypt.html', {
'title': letsencrypt.name,
'name': letsencrypt.name,
'description': letsencrypt.description,
'status': status,
'manual_page': letsencrypt.manual_page,
'diagnostics_module_name': 'letsencrypt',
'is_enabled': letsencrypt.app.is_enabled(),
})