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:
Hemanth Kumar Veeranki 2017-08-11 16:38:37 +05:30 committed by Johannes Keyser
parent 29cc95bbdb
commit 3de4c5639f
No known key found for this signature in database
GPG Key ID: D1431C2C533CF0D0
2 changed files with 4 additions and 1 deletions

View File

@ -29,5 +29,7 @@
{% endblock %}
{% block mainmenu_right %}
{% include "firstboot_navbar.html" %}
{% if firstboot_complete %}
{% include "firstboot_navbar.html" %}
{% endif %}
{% endblock %}

View File

@ -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