mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
templates: Simplify unnecessary override
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
83815ff31b
commit
4c073bb62b
@ -23,44 +23,34 @@
|
|||||||
{% load plinth_extras %}
|
{% load plinth_extras %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block container %}
|
{% block content %}
|
||||||
<div class="container content-container">
|
|
||||||
{% block content_row %}
|
|
||||||
|
|
||||||
{% include 'messages.html' %}
|
{% block pagetitle %}
|
||||||
|
<h2>{{ title }}</h2>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block description %}
|
||||||
|
{% for paragraph in description %}
|
||||||
|
<p>{{ paragraph|safe }}</p>
|
||||||
|
{% endfor %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block pagetitle %}
|
{% if manual_page %}
|
||||||
<h2>{{ title }}</h2>
|
<p class="manual-page">
|
||||||
{% endblock %}
|
<a href="{% url 'help:manual-page' manual_page %}">
|
||||||
|
{% trans 'Learn more...' %}
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% block description %}
|
{% include "clients.html" with clients=clients enabled=is_enabled %}
|
||||||
{% for paragraph in description %}
|
|
||||||
<p>{{ paragraph|safe }}</p>
|
|
||||||
{% endfor %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% if manual_page %}
|
{% block subsubmenu %}
|
||||||
<p class="manual-page">
|
{% if subsubmenu %}
|
||||||
<a href="{% url 'help:manual-page' manual_page %}">
|
{% show_subsubmenu subsubmenu %}
|
||||||
{% trans 'Learn more...' %}
|
{% endif %}
|
||||||
</a>
|
{% endblock %}
|
||||||
</p>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% include "clients.html" with clients=clients enabled=is_enabled %}
|
{% block configuration %}
|
||||||
|
{% endblock %}
|
||||||
{% block subsubmenu %}
|
|
||||||
{% if subsubmenu %}
|
|
||||||
{% show_subsubmenu subsubmenu %}
|
|
||||||
{% endif %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block configuration %}
|
|
||||||
{% endblock %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% endblock %}
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user