diff options
author | Kedar Aitawdekar <kedar2a@gmail.com> | 2015-07-07 09:37:23 +0530 |
---|---|---|
committer | Kedar Aitawdekar <kedar2a@gmail.com> | 2015-07-07 09:37:23 +0530 |
commit | cad142f272f0acaaf64fab5b889498d0eafd94fe (patch) | |
tree | 5f9e380fafb4bc39916532e7919500c176b02997 /gnowsys-ndf/gnowsys_ndf | |
parent | 4b176b6ef3a321f7fe19a2276bc9b1c9122bab89 (diff) | |
download | gnowsys-cad142f272f0acaaf64fab5b889498d0eafd94fe.tar.gz |
Added ndf tag to get licences on template
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/templatetags/ndf_tags.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templatetags/ndf_tags.py b/gnowsys-ndf/gnowsys_ndf/ndf/templatetags/ndf_tags.py index 29f1c99..3530e73 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templatetags/ndf_tags.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templatetags/ndf_tags.py @@ -125,6 +125,12 @@ def get_group_agency_types(): @get_execution_time @register.assignment_tag +def get_licence(): + return GSTUDIO_LICENCE + + +@get_execution_time +@register.assignment_tag def get_agency_type_of_group(group_id): ''' Getting agency_type value of the group. |