diff --git a/plinth/modules/first_boot/templates/base_firstboot.html b/plinth/modules/first_boot/templates/base_firstboot.html index 1c523481c..385abd7ae 100644 --- a/plinth/modules/first_boot/templates/base_firstboot.html +++ b/plinth/modules/first_boot/templates/base_firstboot.html @@ -29,5 +29,7 @@ {% endblock %} {% block mainmenu_right %} - {% include "firstboot_navbar.html" %} + {% if firstboot_complete %} + {% include "firstboot_navbar.html" %} + {% endif %} {% endblock %} diff --git a/plinth/modules/first_boot/views.py b/plinth/modules/first_boot/views.py index 6d722a817..cb52b9021 100644 --- a/plinth/modules/first_boot/views.py +++ b/plinth/modules/first_boot/views.py @@ -54,4 +54,5 @@ class CompleteView(TemplateView): context = super().get_context_data(**kwargs) context['connections'] = network.get_connection_list() context['title'] = _('Setup Complete') + context['firstboot_complete'] = True return context