view .hgtags @ 1306:c07112ef01cd

browser (template): adapted filters/global/extensions to manage SàT templates: `template` module has been update so most SàT template can be run from browser: - `profile` and `csrf_token` are set as globals - an implementation of `xmlattr` filter has been added - `date_fmt` filter has been implemented using `moment.js` - i18n method `_` has been added to globals, and `{% trans %}` statement has been implemented using an extension. For now they are not actually translating but just returning the unmodified string. - new `get_args` helper method to handle `nunjucks` convention for arguments. - fixed `get_elt` to only return the first child element (avoiding any text child) + added a defaut value for `context`
author Goffi <goffi@goffi.org>
date Thu, 16 Jul 2020 09:08:50 +0200
parents c25e21ebd295
children 7101c51b59ef
line wrap: on
line source

12e889a683ce07bfdb66ca3952c93fd97329d70c SàT v0.2.0
732ed69ffe11a5116dc9f8e0b084d47cc3f5a658 SàT v0.3.0
f2c380af7304d65703cf2f88882d08b4236fd36e SàT v0.4.0
ff03fdb5215d31e65123da6646589f9393fcd929 SàT v0.5.0
9b217e14fc6a515902a66f719f3131250e83ea56 SàT v0.5.1
0af8a88ef6cd67563075f9daf2a66c4ce98c8443 0.6.0
3d372805f60c80f03bc59430581c5a8958ed436e 0.6.1
1f67b003c312dbb4c96129bdb328891607e60f79 0.7.0a1
5a73525f75a3057717d59028a1ac7576f5ee3c3d 0.7.0a2
b290f21e8466a6439f7196cd90a37bb3c8957c8a 0.7.0a3
caa8747b1bb12a41d11666f60885ff490c40cc89 0.7.0a4
cc16d93d4181fb5d3ee2de349b3b7b7c52fcaddf 0.7.0b1
889e8d07e95747205b4aec20a34d7dadc7f4068c 0.7.0