From a4fc1181b592dee3d6082b9869de30519296cc5f Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 27 Nov 2019 00:11:38 -0800 Subject: [PATCH] firewall: Use app.html instead of simple_app.html Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/firewall/templates/firewall.html | 2 +- plinth/modules/firewall/views.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plinth/modules/firewall/templates/firewall.html b/plinth/modules/firewall/templates/firewall.html index 86a9b94e3..584645101 100644 --- a/plinth/modules/firewall/templates/firewall.html +++ b/plinth/modules/firewall/templates/firewall.html @@ -1,4 +1,4 @@ -{% extends "simple_app.html" %} +{% extends "app.html" %} {% comment %} # # This file is part of FreedomBox. diff --git a/plinth/modules/firewall/views.py b/plinth/modules/firewall/views.py index a8890e3a5..abc05ef4c 100644 --- a/plinth/modules/firewall/views.py +++ b/plinth/modules/firewall/views.py @@ -31,6 +31,7 @@ def index(request): return TemplateResponse( request, 'firewall.html', { 'title': firewall.name, + 'name': firewall.name, 'description': firewall.description, 'firewall_status': 'not_running' }) @@ -41,6 +42,7 @@ def index(request): return TemplateResponse( request, 'firewall.html', { 'title': firewall.name, + 'name': firewall.name, 'description': firewall.description, 'components': components.Firewall.list(), 'manual_page': firewall.manual_page,