diff options
Diffstat (limited to 'gnowsys-ndf')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/hierarchy_tree.html | 8 | ||||
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html | 5 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/hierarchy_tree.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/hierarchy_tree.html index ff7f674d..2864bba2 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/hierarchy_tree.html +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/hierarchy_tree.html @@ -1,19 +1,23 @@ {% load i18n %} -{% load cache %} {% load ndf_tags %} {% get_group_name groupid as group_name_tag %} <style> - #app-set-item li { padding:0.5em } + /*#app-set-item li { padding:0.5em }*/ .jqtree-closed > .jqtree-element i.icon-folder-open:before { content: "\f07b"; } + .jqtree-tree i { margin-right: 4px; } + + ul.jqtree-tree ul.jqtree_common { + margin-left: 36px; + } </style> diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html index d1aaf1d1..ce33fb15 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html @@ -408,7 +408,7 @@ {% if themes_hierarchy and node %} - {% cache 300 theme_tree node.pk request.LANGUAGE_CODE %} + {% cache 300 theme_tree node.pk request.LANGUAGE_CODE tree unfold %} {% include "ndf/hierarchy_tree.html" %} <div id="app-set-item" class="themes hide" data-url="{% url 'get_tree_hierarchy' groupid node.pk %}"> @@ -599,7 +599,8 @@ // ------ jqtree tree ------ // script for fold themes_cards hierarchy - {% if node %} + // being the common template for all, to distinguish between the tree landing using following condition: + {% if node and tree %} {% if tree == "hierarchical" %} if({{unfold}}) |