diff 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
line wrap: on
line diff
--- a/doc/upgrading.txt	Sat Dec 21 14:52:06 2019 -0500
+++ b/doc/upgrading.txt	Mon Dec 23 17:54:01 2019 -0500
@@ -262,6 +262,22 @@
 2.2.2). You can diff/merge changes into your jinja template based
 tracker.
 
+Also search _generic.index.html, navigation.html and file.index.html
+in the html directory of your tracker. Look for::
+
+   <input type="hidden" name="@action"
+
+where the value is a jinja expression that calls i18n.gettext. Set the
+value to the argument of the gettext call. E.G. replace::
+
+    <input type="hidden" name="@action" value="{{ i18n.gettext('editCSV')|u }}">
+
+with::
+
+    <input type="hidden" name="@action" value="editCSV">
+
+The action keywords should not be translated.
+
 Migrating from 1.5.1 to 1.6.0
 =============================
 

Roundup Issue Tracker: http://roundup-tracker.org/