summaryrefslogtreecommitdiff
path: root/gnowsys-ndf/gnowsys_ndf
diff options
context:
space:
mode:
authorKedar Aitawdekar <kedar2a@gmail.com>2015-07-07 16:09:55 +0530
committerKedar Aitawdekar <kedar2a@gmail.com>2015-07-07 16:09:55 +0530
commit6f841adaf8d0d0243d84e87e3f9d2a13d09848f1 (patch)
tree40ae61c5fde14f2f32e39af2477eecc891354ae2 /gnowsys-ndf/gnowsys_ndf
parent5578dceda98f921a0693e8ccf6440f6f0b09cb01 (diff)
downloadgnowsys-6f841adaf8d0d0243d84e87e3f9d2a13d09848f1.tar.gz
Handling css, cache and theme.html landing concequnces
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf')
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/hierarchy_tree.html8
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/theme.html5
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 ff7f674..2864bba 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 d1aaf1d..ce33fb1 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}})