Mercurial > p > roundup > code
diff doc/upgrading.txt @ 3588:503d4c10f1f8 1.1.1
pre-release stuff
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 03 Mar 2006 02:29:10 +0000 |
| parents | 5e70726a86dd |
| children | 790363e96852 |
line wrap: on
line diff
--- a/doc/upgrading.txt Fri Mar 03 02:19:27 2006 +0000 +++ b/doc/upgrading.txt Fri Mar 03 02:29:10 2006 +0000 @@ -13,6 +13,36 @@ .. contents:: +Migrating from 1.1.0 to 1.1.1 +============================= + +1.1.1 "Clear this message" +-------------------------- + +In 1.1.1, the standard ``page.html`` template includes a "clear this message" +link in the green "ok" message bar that appears after a successful edit +(or other) action. + +To include this in your tracker, change the following in your ``page.html`` +template:: + + <p tal:condition="options/ok_message | nothing" class="ok-message" + tal:repeat="m options/ok_message" tal:content="structure m">error</p> + +to be:: + + <p tal:condition="options/ok_message | nothing" class="ok-message"> + <span tal:repeat="m options/ok_message" + tal:content="structure string:$m <br/ > " /> + <a class="form-small" tal:attributes="href request/current_url" + i18n:translate="">clear this message</a> + </p> + + +If you implemented the "clear this message" in your 1.1.0 tracker, then you +should change it to the above and it will work much better! + + Migrating from 1.0.x to 1.1.0 =============================
