From a32611993731e575b04b50c9d4f4fcd80bd28dc9 Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado" Date: Tue, 22 Feb 2022 17:01:27 +0100 Subject: Hardware inventory template extends from command.html Extending from command.html is required for action views to mantain the scope context on the left side column. Enables setting dropdown button and action button as active when loading the hardware inventory view. --- ogcp/templates/actions/hardware.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ogcp/templates/actions/hardware.html') diff --git a/ogcp/templates/actions/hardware.html b/ogcp/templates/actions/hardware.html index c447c57..70a24de 100644 --- a/ogcp/templates/actions/hardware.html +++ b/ogcp/templates/actions/hardware.html @@ -1,6 +1,8 @@ -{% extends 'base.html' %} +{% extends 'commands.html' %} {% import "bootstrap/wtf.html" as wtf %} +{% block nav_inventory %} active{% endblock %} +{% block nav_inventory_hardware %} active{% endblock %} {% block content %}

{{_('Hardware inventory')}}

-- cgit v1.2.3-18-g5258