From f09e89aba433c6873fd67138ebff303056dda9c3 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 1 Oct 2019 20:44:08 -0700 Subject: [PATCH] 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 Reviewed-by: James Valleroy --- plinth/templates/app.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plinth/templates/app.html b/plinth/templates/app.html index d8b8e8122..727a0e56c 100644 --- a/plinth/templates/app.html +++ b/plinth/templates/app.html @@ -22,6 +22,7 @@ {% load bootstrap %} {% load i18n %} +{% load plinth_extras %} {% load static %} {% block content %} @@ -46,6 +47,12 @@ {% include "clients.html" with clients=clients enabled=is_enabled %} + {% block subsubmenu %} + {% if subsubmenu %} + {% show_subsubmenu subsubmenu %} + {% endif %} + {% endblock %} + {% block status %} {% if show_status_block %}

{% trans "Status" %}