Mercurial > p > roundup > code
comparison doc/upgrading.txt @ 6055:5260c15d153f
updated changes and upgrading doc
| author | Christof Meerwald <cmeerw@cmeerw.org> |
|---|---|
| date | Wed, 15 Jan 2020 21:26:19 +0000 |
| parents | 0e04fcdd1ff2 |
| children | c75d0f27a10a |
comparison
equal
deleted
inserted
replaced
| 6054:ffaf89a4a9d9 | 6055:5260c15d153f |
|---|---|
| 255 There have been some changes to the responsive template. You can | 255 There have been some changes to the responsive template. You can |
| 256 diff/merge these changes into your responsive template based tracker. | 256 diff/merge these changes into your responsive template based tracker. |
| 257 | 257 |
| 258 Jinja template changes | 258 Jinja template changes |
| 259 ---------------------- | 259 ---------------------- |
| 260 | |
| 261 Auto escaping has been enabled in the jinja template engine, this | |
| 262 means it is no longer necessary to manually escape dynamic strings | |
| 263 with "|e", but strings that should not be escaped need to be marked | |
| 264 with "|safe" (e.g. "{{ context.history()|u|safe }}"). Also, the i18n | |
| 265 extension has been enabled and the template has been updated to use | |
| 266 the extension for translatable text instead of explicit "i18n.gettext" | |
| 267 calls: | |
| 268 | |
| 269 {% trans %}List of issues{% endtrans %} | |
| 270 | |
| 271 instead of | |
| 272 | |
| 273 {{ i18n.gettext('List of issues')|u }} | |
| 260 | 274 |
| 261 The jinja template has been upgraded to use bootstrap 4.1.3 (from | 275 The jinja template has been upgraded to use bootstrap 4.1.3 (from |
| 262 2.2.2). You can diff/merge changes into your jinja template based | 276 2.2.2). You can diff/merge changes into your jinja template based |
| 263 tracker. | 277 tracker. |
| 264 | 278 |
