mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-12 04:52:45 +00:00
- move header section to it's own file so that it can be imported across the app (app.html, simple_app.html, setup.html) Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
36 lines
910 B
HTML
36 lines
910 B
HTML
{% load bootstrap %}
|
|
{% load i18n %}
|
|
{% load static %}
|
|
|
|
<header class="app-header {% if not icon_filename %} app-header-single-column {% endif %}">
|
|
{% if icon_filename %}
|
|
|
|
<img src="{% static 'theme/icons/' %}{{ icon_filename }}.svg" alt="{{ name }}"/>
|
|
|
|
{% endif %}
|
|
|
|
<section class="app-description" >
|
|
{% block pagetitle %}
|
|
{% if setup %}
|
|
<h2>{% trans "Installation" %}: {{ short_description|default:'' }} ({{ name }})</h2>
|
|
{% else %}
|
|
<h2>{{ name }}</h2>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block description %}
|
|
{% for paragraph in description %}
|
|
<p>{{ paragraph|safe }}</p>
|
|
{% endfor %}
|
|
{% endblock %}
|
|
|
|
{% if manual_page %}
|
|
<p class="manual-page">
|
|
<a href="{% url 'help:manual-page' lang='-' page=manual_page %}">
|
|
{% trans 'Learn more...' %}
|
|
</a>
|
|
</p>
|
|
{% endif %}
|
|
</section>
|
|
</header>
|