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:
Sunil Mohan Adapa 2019-10-01 20:33:05 -07:00 committed by James Valleroy
parent 83815ff31b
commit 4c073bb62b
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

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