Mercurial > p > roundup > code
comparison doc/upgrading.txt @ 5994:0e04fcdd1ff2
issue2551077-"jinja2" template: cannot login if German language used.
Fixed three places where the value of a hidden @action input field was
translated.They shouldn't be.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 23 Dec 2019 17:54:01 -0500 |
| parents | b0940ad50f43 |
| children | 5260c15d153f |
comparison
equal
deleted
inserted
replaced
| 5993:a0ab2c5d1c2a | 5994:0e04fcdd1ff2 |
|---|---|
| 259 ---------------------- | 259 ---------------------- |
| 260 | 260 |
| 261 The jinja template has been upgraded to use bootstrap 4.1.3 (from | 261 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 | 262 2.2.2). You can diff/merge changes into your jinja template based |
| 263 tracker. | 263 tracker. |
| 264 | |
| 265 Also search _generic.index.html, navigation.html and file.index.html | |
| 266 in the html directory of your tracker. Look for:: | |
| 267 | |
| 268 <input type="hidden" name="@action" | |
| 269 | |
| 270 where the value is a jinja expression that calls i18n.gettext. Set the | |
| 271 value to the argument of the gettext call. E.G. replace:: | |
| 272 | |
| 273 <input type="hidden" name="@action" value="{{ i18n.gettext('editCSV')|u }}"> | |
| 274 | |
| 275 with:: | |
| 276 | |
| 277 <input type="hidden" name="@action" value="editCSV"> | |
| 278 | |
| 279 The action keywords should not be translated. | |
| 264 | 280 |
| 265 Migrating from 1.5.1 to 1.6.0 | 281 Migrating from 1.5.1 to 1.6.0 |
| 266 ============================= | 282 ============================= |
| 267 | 283 |
| 268 Update tracker config file | 284 Update tracker config file |
