X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fjobterms.branch.tpl;h=c527e8a6e28611b9a27cb480dd91b641518f767a;hb=173ff0bdf41db90ee0995e0c3bf844bf2151d0e6;hp=53fce45811551f0f736752aa286fc9a6e8480a73;hpb=f2d397df81eb949f846d5a06127f7d72e8b9105d;p=platal.git diff --git a/templates/include/jobterms.branch.tpl b/templates/include/jobterms.branch.tpl index 53fce45..c527e8a 100644 --- a/templates/include/jobterms.branch.tpl +++ b/templates/include/jobterms.branch.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -34,9 +34,9 @@ "title" : "{$term.full_name|replace:'"':'\\"'}" {rdelim} {rdelim}, - "attr" : {ldelim} "id" : "job_terms_tree_{$treeid}_{$term.jtid}" {rdelim}, + "attr" : {ldelim} "id" : "job_terms_tree_{$treeid}_{$term.jtid}" {rdelim} {if !$term.leaf} - "state": "closed" + ,"state": "closed" {/if} {rdelim} {/iterate}