mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Remove help from navbar before firstboot complete
Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com> Reviewed-by: Johannes Keyser <johanneskeyser@posteo.de>
This commit is contained in:
parent
29cc95bbdb
commit
3de4c5639f
@ -29,5 +29,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block mainmenu_right %}
|
||||
{% include "firstboot_navbar.html" %}
|
||||
{% if firstboot_complete %}
|
||||
{% include "firstboot_navbar.html" %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user