File: help_base.html

package info (click to toggle)
freedombox 26.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 83,092 kB
  • sloc: python: 48,542; javascript: 1,730; xml: 481; makefile: 290; sh: 137; php: 32
file content (41 lines) | stat: -rw-r--r-- 888 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{% extends 'base.html' %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}

{% load i18n %}
{% load firstboot_extras %}
{% load static %}


{# Adapt mainmenu-links during firstboot #}
{% block mainmenu_left %}

  {% firstboot_is_completed as firstboot_completed %}
  {% if not firstboot_completed %}

    <span class="navbar-brand">
      <img src="{% static 'theme/img/freedombox-logo-32px.png' %}"
           alt="{{ cfg.box_name }}" />
      <a href="{% url 'index' %}">
        {% blocktrans trimmed %}{{ box_name }} Setup{% endblocktrans %}
      </a>
    </span>

  {% else %}
    {{ block.super }}
  {% endif %}

{% endblock %}


{% block mainmenu_right %}

  {% firstboot_is_completed as firstboot_completed %}
  {% if not firstboot_completed %}
    {% include "firstboot_navbar.html" %}
  {% else %}
    {{ block.super }}
  {% endif %}

{% endblock %}