|
2 | 2 | Customising Roundup |
3 | 3 | =================== |
4 | 4 |
|
5 | | -:Version: $Revision: 1.215 $ |
| 5 | +:Version: $Revision: 1.216 $ |
6 | 6 |
|
7 | 7 | .. This document borrows from the ZopeBook section on ZPT. The original is at: |
8 | 8 | http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx |
@@ -2925,8 +2925,7 @@ caches the schema). |
2925 | 2925 |
|
2926 | 2926 | 5. if you wish for the due date to appear in the standard views listed |
2927 | 2927 | in the sidebar of the web interface then you'll need to add "due_date" |
2928 | | - to the list of @columns in the links in the sidebar section of |
2929 | | - ``page.html``. |
| 2928 | + to the columns and columns_showall lists in your ``page.html``. |
2930 | 2929 |
|
2931 | 2930 |
|
2932 | 2931 | Adding a new constrained field to the classic schema |
@@ -4067,16 +4066,33 @@ resolved. To achieve this: |
4067 | 4066 | example, the existing "Show All" link in the "page" template (in the |
4068 | 4067 | tracker's "html" directory) looks like this:: |
4069 | 4068 |
|
4070 | | - <a href="issue?@sort=-activity&@group=priority&@filter=status& |
4071 | | - @columns=id,activity,title,creator,assignedto,status& |
4072 | | - status=-1,1,2,3,4,5,6,7">Show All</a><br> |
| 4069 | + <a href="#" |
| 4070 | + tal:attributes="href python:request.indexargs_url('issue', { |
| 4071 | + '@sort': '-activity', |
| 4072 | + '@group': 'priority', |
| 4073 | + '@filter': 'status', |
| 4074 | + '@columns': columns_showall, |
| 4075 | + '@search_text': '', |
| 4076 | + 'status': status_notresolved, |
| 4077 | + '@dispname': i18n.gettext('Show All'), |
| 4078 | + })" |
| 4079 | + i18n:translate="">Show All</a><br> |
4073 | 4080 |
|
4074 | 4081 | modify it to add the "blockers" info to the URL (note, both the |
4075 | 4082 | "@filter" *and* "blockers" values must be specified):: |
4076 | 4083 |
|
4077 | | - <a href="issue?@sort=-activity&@group=priority&@filter=status,blockers& |
4078 | | - blockers=-1&@columns=id,activity,title,creator,assignedto,status& |
4079 | | - status=-1,1,2,3,4,5,6,7">Show All</a><br> |
| 4084 | + <a href="#" |
| 4085 | + tal:attributes="href python:request.indexargs_url('issue', { |
| 4086 | + '@sort': '-activity', |
| 4087 | + '@group': 'priority', |
| 4088 | + '@filter': 'status,blockers', |
| 4089 | + '@columns': columns_showall, |
| 4090 | + '@search_text': '', |
| 4091 | + 'status': status_notresolved, |
| 4092 | + 'blockers': '-1', |
| 4093 | + '@dispname': i18n.gettext('Show All'), |
| 4094 | + })" |
| 4095 | + i18n:translate="">Show All</a><br> |
4080 | 4096 |
|
4081 | 4097 | The above examples are line-wrapped on the trailing & and should |
4082 | 4098 | be unwrapped. |
|
0 commit comments