Mercurial > libervia-web
annotate .hgignore @ 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 | a5019e62c3e9 |
children | a44f77559279 |
rev | line source |
---|---|
0 | 1 syntax: glob |
2 *.pyc | |
3 *.pyv | |
4 *.swp | |
5 *.swo | |
6 *.js | |
7 tags | |
8 twistd.log | |
9 twistd.pid | |
10 sat.egg-info | |
11 *.un~ | |
12 dist | |
13 MANIFEST | |
14 *.sh | |
5
c8d3821efc36
added build/ and Session.vim to .hgignore
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
15 build/ |
c8d3821efc36
added build/ and Session.vim to .hgignore
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
16 Session.vim |
180 | 17 ctags_links/ |
589
a5019e62c3e9
browser side: big refactoring to base Libervia on QuickFrontend, first draft:
Goffi <goffi@goffi.org>
parents:
180
diff
changeset
|
18 html/ |