mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
templates: Provide subsubmenu functionality in app.html
- So that eventually we can use just app.html instead of two: app.html and app-subsubmenu.html Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
4c073bb62b
commit
f09e89aba4
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load plinth_extras %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
@ -46,6 +47,12 @@
|
|||||||
|
|
||||||
{% include "clients.html" with clients=clients enabled=is_enabled %}
|
{% include "clients.html" with clients=clients enabled=is_enabled %}
|
||||||
|
|
||||||
|
{% block subsubmenu %}
|
||||||
|
{% if subsubmenu %}
|
||||||
|
{% show_subsubmenu subsubmenu %}
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block status %}
|
{% block status %}
|
||||||
{% if show_status_block %}
|
{% if show_status_block %}
|
||||||
<h3>{% trans "Status" %}</h3>
|
<h3>{% trans "Status" %}</h3>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user