Debian Codegraph @

plinth/modules/help/templates/help_base.html

raw
1 {% extends 'base.html' %}
2 {% comment %}
3 # SPDX-License-Identifier: AGPL-3.0-or-later
4 {% endcomment %}
5
6 {% load i18n %}
7 {% load firstboot_extras %}
8 {% load static %}
9
10
11 {# Adapt mainmenu-links during firstboot #}
12 {% block mainmenu_left %}
13
14 {% firstboot_is_completed as firstboot_completed %}
15 {% if not firstboot_completed %}
16
17 <span class="navbar-brand">
18 <img src="{% static 'theme/img/freedombox-logo-32px.png' %}"
19 alt="{{ cfg.box_name }}">
20 <a href="{% url 'index' %}">
21 {% blocktrans trimmed %}{{ box_name }} Setup{% endblocktrans %}
22 </a>
23 </span>
24
25 {% else %}
26 {{ block.super }}
27 {% endif %}
28
29 {% endblock %}
30
31
32 {% block mainmenu_right %}
33
34 {% firstboot_is_completed as firstboot_completed %}
35 {% if not firstboot_completed %}
36 {% include "firstboot_navbar.html" %}
37 {% else %}
38 {{ block.super }}
39 {% endif %}
40
41 {% endblock %}