Mercurial > libervia-web
annotate .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 |
rev | line source |
---|---|
63
dc88ff7a030d
Added tag SàT v0.2.0 for changeset 12e889a683ce
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 12e889a683ce07bfdb66ca3952c93fd97329d70c SàT v0.2.0 |
170
3a2ee1caf106
Added tag SàT v0.3.0 for changeset 732ed69ffe11
Goffi <goffi@goffi.org>
parents:
63
diff
changeset
|
2 732ed69ffe11a5116dc9f8e0b084d47cc3f5a658 SàT v0.3.0 |
386 | 3 f2c380af7304d65703cf2f88882d08b4236fd36e SàT v0.4.0 |
550 | 4 ff03fdb5215d31e65123da6646589f9393fcd929 SàT v0.5.0 |
552 | 5 9b217e14fc6a515902a66f719f3131250e83ea56 SàT v0.5.1 |
792
b993ff0fd02d
Added tag 0.6.0 for changeset 0af8a88ef6cd
Goffi <goffi@goffi.org>
parents:
552
diff
changeset
|
6 0af8a88ef6cd67563075f9daf2a66c4ce98c8443 0.6.0 |
908
f38b8be94131
Added tag 0.6.1 for changeset 3d372805f60c
Goffi <goffi@goffi.org>
parents:
904
diff
changeset
|
7 3d372805f60c80f03bc59430581c5a8958ed436e 0.6.1 |
1116
f72064f29d2a
Added tag 0.7.0a1 for changeset 1f67b003c312
Goffi <goffi@goffi.org>
parents:
908
diff
changeset
|
8 1f67b003c312dbb4c96129bdb328891607e60f79 0.7.0a1 |
1120
063af126ec90
Added tag 0.7.0a2 for changeset 5a73525f75a3
Goffi <goffi@goffi.org>
parents:
1116
diff
changeset
|
9 5a73525f75a3057717d59028a1ac7576f5ee3c3d 0.7.0a2 |
1150
0effdb357a87
Added tag 0.7.0a3 for changeset b290f21e8466
Goffi <goffi@goffi.org>
parents:
1120
diff
changeset
|
10 b290f21e8466a6439f7196cd90a37bb3c8957c8a 0.7.0a3 |
1162
c62ffc3af3a9
Added tag 0.7.0a4 for changeset caa8747b1bb1
Goffi <goffi@goffi.org>
parents:
1150
diff
changeset
|
11 caa8747b1bb12a41d11666f60885ff490c40cc89 0.7.0a4 |
1181
ca637ba6f626
Added tag 0.7.0b1 for changeset cc16d93d4181
Goffi <goffi@goffi.org>
parents:
1162
diff
changeset
|
12 cc16d93d4181fb5d3ee2de349b3b7b7c52fcaddf 0.7.0b1 |
1214
c25e21ebd295
Added tag 0.7.0 for changeset 889e8d07e957
Goffi <goffi@goffi.org>
parents:
1181
diff
changeset
|
13 889e8d07e95747205b4aec20a34d7dadc7f4068c 0.7.0 |