File tree Expand file tree Collapse file tree 3 files changed +30
-3
lines changed
Expand file tree Collapse file tree 3 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 77- login may now be for a single session (and this is the default)
88- trackers may hide exceptions from web users (they will be mailed to the
99 tracker admin) (hiding is the default)
10+ - include "clear this message" link in the "ok" message bar
1011
1112Fixed:
1213- fixes in scripts/import_sf.py
Original file line number Diff line number Diff line change @@ -40,6 +40,28 @@ and ``issue.index.html`` pages to change ``dispname`` to ``@dispname``.
4040A side-effect of this change is that the renderWith method used in the
4141``home.html`` page may now take a dispname argument.
4242
43+ 1.1 "Clear this message"
44+ ------------------------
45+
46+ In 1.1, the standard ``page.html`` template includes a "clear this message"
47+ link in the green "ok" message bar that appears after a successful edit
48+ (or other) action.
49+
50+ To include this in your tracker, change the following in your ``page.html``
51+ template::
52+
53+ <p tal:condition="options/ok_message | nothing" class="ok-message"
54+ tal:repeat="m options/ok_message" tal:content="structure m">error</p>
55+
56+ to be::
57+
58+ <p tal:condition="options/ok_message | nothing" class="ok-message">
59+ <span tal:repeat="m options/ok_message"
60+ tal:content="structure string:$m <br/ > " />
61+ <a class="form-small" tal:attributes="href string:issue${context/id}"
62+ i18n:translate="">clear this message</a>
63+ </p>
64+
4365
4466Migrating from 0.8.x to 1.0
4567===========================
Original file line number Diff line number Diff line change @@ -129,9 +129,13 @@ <h2><span metal:define-slot="body_title">body title</span></h2>
129129 </ td >
130130 < td >
131131 < p tal:condition ="options/error_message | nothing " class ="error-message "
132- tal:repeat ="m options/error_message " tal:content ="structure m "> error</ p >
133- < p tal:condition ="options/ok_message | nothing " class ="ok-message "
134- tal:repeat ="m options/ok_message " tal:content ="structure m "> error</ p >
132+ tal:repeat ="m options/error_message " tal:content ="structure m " />
133+ < p tal:condition ="options/ok_message | nothing " class ="ok-message ">
134+ < span tal:repeat ="m options/ok_message "
135+ tal:content ="structure string:$m <br/ > " />
136+ < a class ="form-small " tal:attributes ="href string:issue${context/id} "
137+ i18n:translate =""> clear this message</ a >
138+ </ p >
135139 </ td >
136140</ tr >
137141< tr >
You can’t perform that action at this time.
0 commit comments