Mercurial > libervia-web
view MANIFEST.in @ 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 | 843e303de5cb |
children |
line wrap: on
line source
include MANIFEST.in libervia/VERSION global-include *.py global-include *.ini global-include *.po *.mo global-include CHANGELOG COPYING* INSTALL README* global-include *.sh global-include Makefile *.rst *.bat include src/browser/public/* include themes include doc recursive-include src *.js exclude *.sh global-exclude *.un~ global-exclude *.pyc prune output prune html