From 0f742d704b1030accf5e09d2c01d1b204920fc99 Mon Sep 17 00:00:00 2001 From: fonfon Date: Fri, 25 Dec 2015 20:39:44 +0000 Subject: [PATCH] firstboot: Dont show normal mainmenu in help pages - plus some minor adaptions like titles and using cfg.box_name --- .../templates/firstboot_navbar.html | 4 +- .../templates/firstboot_state0.html | 4 +- .../templates/firstboot_state1.html | 2 +- .../templates/firstboot_state10.html | 2 +- .../first_boot/templatetags/__init__.py | 0 .../templatetags/firstboot_extras.py | 28 +++++ plinth/modules/help/templates/help_about.html | 4 +- plinth/modules/help/templates/help_base.html | 58 ++++++++++ plinth/modules/help/templates/help_index.html | 2 +- .../modules/help/templates/help_manual.html | 2 +- plinth/templates/base.html | 104 +++++++++--------- 11 files changed, 150 insertions(+), 60 deletions(-) create mode 100644 plinth/modules/first_boot/templatetags/__init__.py create mode 100644 plinth/modules/first_boot/templatetags/firstboot_extras.py create mode 100644 plinth/modules/help/templates/help_base.html diff --git a/plinth/modules/first_boot/templates/firstboot_navbar.html b/plinth/modules/first_boot/templates/firstboot_navbar.html index dfb3f58ed..da14287ef 100644 --- a/plinth/modules/first_boot/templates/firstboot_navbar.html +++ b/plinth/modules/first_boot/templates/firstboot_navbar.html @@ -17,9 +17,11 @@ # {% endcomment %} +{% load i18n %} +