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 %} +
+ alt="{{ cfg.box_name }}" width="640"/>
diff --git a/plinth/modules/first_boot/templates/firstboot_state1.html b/plinth/modules/first_boot/templates/firstboot_state1.html index 1c2ecaebf..03687163b 100644 --- a/plinth/modules/first_boot/templates/firstboot_state1.html +++ b/plinth/modules/first_boot/templates/firstboot_state1.html @@ -30,7 +30,7 @@ {% endblock %} -{% block add_nav_and_login %} +{% block mainmenu_right %} {% include "firstboot_navbar.html" %} {% endblock %} diff --git a/plinth/modules/first_boot/templates/firstboot_state10.html b/plinth/modules/first_boot/templates/firstboot_state10.html index b03096d83..b7b18cf9c 100644 --- a/plinth/modules/first_boot/templates/firstboot_state10.html +++ b/plinth/modules/first_boot/templates/firstboot_state10.html @@ -30,7 +30,7 @@
{% blocktrans trimmed with box_name=cfg.box_name %}
- {{ box_name }} setup is now complete. To make your FreedomBox
+ {{ box_name }} setup is now complete. To make your {{ box_name }}
functional, you need some applications. Applications will be
installed the first time you access them.
{% endblocktrans %}
diff --git a/plinth/modules/first_boot/templatetags/__init__.py b/plinth/modules/first_boot/templatetags/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/plinth/modules/first_boot/templatetags/firstboot_extras.py b/plinth/modules/first_boot/templatetags/firstboot_extras.py
new file mode 100644
index 000000000..c8e3ab423
--- /dev/null
+++ b/plinth/modules/first_boot/templatetags/firstboot_extras.py
@@ -0,0 +1,28 @@
+#
+# This file is part of Plinth.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see
+
+ {% blocktrans trimmed with box_name=cfg.box_name %}
+ {{ box_name }} Setup
+ {% endblocktrans %}
+
+
+
+ {% else %}
+ {{ block.super }}
+ {% endif %}
+
+{% endblock %}
+
+
+{% block mainmenu_right %}
+
+ {% firstboot_is_finished as firstboot_finished %}
+ {% if not firstboot_finished %}
+ {% include "firstboot_navbar.html" %}
+ {% else %}
+ {{ block.super }}
+ {% endif %}
+
+{% endblock %}
diff --git a/plinth/modules/help/templates/help_index.html b/plinth/modules/help/templates/help_index.html
index fbe4682ad..14741849b 100644
--- a/plinth/modules/help/templates/help_index.html
+++ b/plinth/modules/help/templates/help_index.html
@@ -1,4 +1,4 @@
-{% extends 'base.html' %}
+{% extends 'help_base.html' %}
{% comment %}
#
# This file is part of Plinth.
diff --git a/plinth/modules/help/templates/help_manual.html b/plinth/modules/help/templates/help_manual.html
index 0bdb66ce5..4a1cb96bb 100644
--- a/plinth/modules/help/templates/help_manual.html
+++ b/plinth/modules/help/templates/help_manual.html
@@ -1,4 +1,4 @@
-{% extends 'base.html' %}
+{% extends 'help_base.html' %}
{% comment %}
#
# This file is part of Plinth.
diff --git a/plinth/templates/base.html b/plinth/templates/base.html
index 1e7a6a89b..3caba259e 100644
--- a/plinth/templates/base.html
+++ b/plinth/templates/base.html
@@ -83,67 +83,69 @@
-
-
-
-
-
-
+ {% block mainmenu_left %}
+
+
+
+
+
+
+ {% endblock %}