[printing/facture] Jolie liste d'articles

This commit is contained in:
Valentin Samir 2013-11-22 16:52:59 +01:00
parent aebe4613e4
commit 54dd95bb22
2 changed files with 6 additions and 1 deletions

View file

@ -46,6 +46,7 @@ def template():
template_path = '/usr/scripts/lc_ldap/printing/templates/'
templateLoader = jinja2.FileSystemLoader( searchpath=["/", template_path] )
templateEnv = jinja2.Environment( loader=templateLoader, trim_blocks=True )
templateEnv.add_extension('jinja2.ext.do')
templateEnv.filters['coul'] = coul
templateEnv.filters['blacklist'] = blacklist
templateEnv.filters['prise_etat'] = prise_etat