Commit 1cd492f9 authored by Valentin Samir's avatar Valentin Samir

[templates] Dialogue-ization

parent d8bac8d4
......@@ -98,7 +98,9 @@ def template(dialog=False):
oldstyle = style
oldtableau = tableau
newTableau = lambda *args,**kwargs: oldtableau(*args,dialog=dialog,**kwargs)
tableau = newTableau
newStyle = lambda *args,**kwargs:oldstyle(*args,dialog=dialog,**kwargs)
style = newStyle
template_path = '/usr/scripts/lc_ldap/printing/templates/'
templateLoader = jinja2.FileSystemLoader( searchpath=["/", template_path] )
templateEnv = jinja2.Environment( loader=templateLoader, trim_blocks=True )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment