mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
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:
parent
a4fc1181b5
commit
69663df5c6
@ -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 %}
|
||||
|
||||
@ -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(),
|
||||
})
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user