diff options
author | Kedar Aitawdekar <kedar2a@gmail.com> | 2015-07-04 22:21:21 +0530 |
---|---|---|
committer | Kedar Aitawdekar <kedar2a@gmail.com> | 2015-07-04 22:21:21 +0530 |
commit | 576bb6e197c045d5f02ab0162b8685bccbe8fdc5 (patch) | |
tree | c9a05b747d21617dad1167c65a81e5e54a4cf980 /gnowsys-ndf/gnowsys_ndf | |
parent | 6e82c6f0e8386aabd8e0c07b7e6b64e6235212a2 (diff) | |
download | gnowsys-576bb6e197c045d5f02ab0162b8685bccbe8fdc5.tar.gz |
Sending type of tree value from theme view
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/views/topics.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/topics.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/topics.py index 2344f1f..6533647 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/views/topics.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/topics.py @@ -91,6 +91,7 @@ def themes(request, group_id, app_id=None, app_set_id=None): nodes = "" unfold_tree = request.GET.get('unfold','') selected = request.GET.get('selected','') + tree = request.GET.get('tree','collapsible') unfold = "false" # topics_GST = node_collection.find_one({'_type': 'GSystemType', 'name': 'Topics'}) @@ -130,7 +131,7 @@ def themes(request, group_id, app_id=None, app_set_id=None): return render_to_response("ndf/theme.html", {'theme_GST_id':theme_GST._id, 'themes_cards': themes_cards, - 'group_id': group_id,'groupid': group_id,'node': node,'shelf_list': shelf_list,'shelves': shelves, + 'group_id': group_id,'groupid': group_id,'node': node,'shelf_list': shelf_list,'shelves': shelves, 'tree': tree, 'nodes':nodes_dict,'app_id': app_id,'app_name': appName,"selected": selected, 'title': title,'themes_list_items': themes_list_items, 'themes_hierarchy': themes_hierarchy, 'unfold': unfold, |