From 10a32f43d96a2408f1bebcd3e06e3f8ecac45900 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sat, 6 Dec 2014 16:51:11 +0530 Subject: [PATCH] Fix issue with showing installed status of pagekite --- plinth/modules/pagekite/pagekite.py | 1 + plinth/modules/pagekite/templates/pagekite_configure.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plinth/modules/pagekite/pagekite.py b/plinth/modules/pagekite/pagekite.py index 78bb87f8b..5a78a1ac9 100644 --- a/plinth/modules/pagekite/pagekite.py +++ b/plinth/modules/pagekite/pagekite.py @@ -120,6 +120,7 @@ def configure(request): return TemplateResponse(request, 'pagekite_configure.html', {'title': _('Configure PageKite'), + 'status': status, 'form': form, 'subsubmenu': subsubmenu}) diff --git a/plinth/modules/pagekite/templates/pagekite_configure.html b/plinth/modules/pagekite/templates/pagekite_configure.html index 63e853843..c136aa2f7 100644 --- a/plinth/modules/pagekite/templates/pagekite_configure.html +++ b/plinth/modules/pagekite/templates/pagekite_configure.html @@ -22,7 +22,7 @@ {% block content %} -{% if pagekite_status = 'not_installed' %} +{% if not status %}

PageKite is not installed, please install it. PageKite comes pre-installed with {{ cfg.box_name }}. On any Debian based system