summaryrefslogtreecommitdiffstats
path: root/templates/html/htmllayout.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/html/htmllayout.tpl')
-rw-r--r--templates/html/htmllayout.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/html/htmllayout.tpl b/templates/html/htmllayout.tpl
index 0fbe458..f96de7e 100644
--- a/templates/html/htmllayout.tpl
+++ b/templates/html/htmllayout.tpl
@@ -30,9 +30,11 @@
{% resource 'nav_f.lum' %}
{% resource 'nav_g.png' %}
{% resource 'nav_h.lum' %}
+{% if config.GENERATE_TREEVIEW %}
{% resource 'navtree.css' %}
{% resource 'navtree.js' %}
{% resource 'resize.js' %}
+{% endif %}
{% resource 'menu.js' %}
{% resource 'doc.luma' %}
{% resource 'folderopen.luma' %}
@@ -221,7 +223,7 @@
{% endif %}
{# write the class inheritance hierarchy #}
- {% if classHierarchy.tree %}
+ {% if classHierarchy.tree and classHierarchy.maxDepth>1 %}
{% with page=classHierarchy %}
{% create classHierarchy.fileName|append:config.HTML_FILE_EXTENSION from 'htmlhierarchy.tpl' %}
{% if config.HAVE_DOT and config.GRAPHICAL_HIERARCHY %}