From: Raphaël Barrois Date: Tue, 19 Oct 2010 21:19:27 +0000 (+0200) Subject: Fix jobterms ajax when smarty debug is enabled. X-Git-Tag: xorg/1.0.1~33 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=bc46fc151e608c05cc23463792d5bc37862d073d;p=platal.git Fix jobterms ajax when smarty debug is enabled. Signed-off-by: Raphaël Barrois --- diff --git a/templates/include/jobterms.branch.tpl b/templates/include/jobterms.branch.tpl index 71a384c..7e19811 100644 --- a/templates/include/jobterms.branch.tpl +++ b/templates/include/jobterms.branch.tpl @@ -27,7 +27,7 @@ {ldelim} "data" : {ldelim} - "title" : "{$term.name|replace:'"':'\\"'}{if $filter} ({$term.nb} {$filter}{if $term.nb > 1}s{/if}){/if}", + "title" : "{$term.name|replace:'"':'\\"'}{if t($filter)} ({$term.nb} {$filter}{if $term.nb > 1}s{/if}){/if}", "attr" : {ldelim} {if $attrfunc}"href" : "javascript:{$attrfunc}('{$treeid}','{$term.jtid}',\"{$term.full_name|replace:'"':'\\\\\\"'}\")",{/if} "title" : "{$term.full_name|replace:'"':'\\"'}"