22Customising Roundup
33===================
44
5- :Version: $Revision: 1.100 $
5+ :Version: $Revision: 1.101 $
66
77.. This document borrows from the ZopeBook section on ZPT. The original is at:
88 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -1866,35 +1866,35 @@ template)::
18661866
18671867 <table class="form">
18681868 <tr>
1869- <th nowrap >Title</th>
1869+ <th>Title</th>
18701870 <td colspan="3" tal:content="structure python:context.title.field(size=60)">title</td>
18711871 </tr>
18721872
18731873 <tr>
1874- <th nowrap >Priority</th>
1874+ <th>Priority</th>
18751875 <td tal:content="structure context/priority/menu">priority</td>
1876- <th nowrap >Status</th>
1876+ <th>Status</th>
18771877 <td tal:content="structure context/status/menu">status</td>
18781878 </tr>
18791879
18801880 <tr>
1881- <th nowrap >Superseder</th>
1881+ <th>Superseder</th>
18821882 <td>
18831883 <span tal:replace="structure python:context.superseder.field(showid=1, size=20)" />
18841884 <span tal:replace="structure python:db.issue.classhelp('id,title')" />
18851885 <span tal:condition="context/superseder">
18861886 <br>View: <span tal:replace="structure python:context.superseder.link(showid=1)" />
18871887 </span>
18881888 </td>
1889- <th nowrap >Nosy List</th>
1889+ <th>Nosy List</th>
18901890 <td>
18911891 <span tal:replace="structure context/nosy/field" />
18921892 <span tal:replace="structure python:db.user.classhelp('username,realname,address,phone')" />
18931893 </td>
18941894 </tr>
18951895
18961896 <tr>
1897- <th nowrap >Assigned To</th>
1897+ <th>Assigned To</th>
18981898 <td tal:content="structure context/assignedto/menu">
18991899 assignedto menu
19001900 </td>
@@ -1903,14 +1903,14 @@ template)::
19031903 </tr>
19041904
19051905 <tr>
1906- <th nowrap >Change Note</th>
1906+ <th>Change Note</th>
19071907 <td colspan="3">
19081908 <textarea name=":note" wrap="hard" rows="5" cols="60"></textarea>
19091909 </td>
19101910 </tr>
19111911
19121912 <tr>
1913- <th nowrap >File</th>
1913+ <th>File</th>
19141914 <td colspan="3"><input type="file" name=":file" size="40"></td>
19151915 </tr>
19161916
@@ -2341,7 +2341,7 @@ will be the "name" variable of the current context (which is
23412341to the form, a new category will be created with that name::
23422342
23432343 <tr>
2344- <th nowrap >Name</th>
2344+ <th>Name</th>
23452345 <td tal:content="structure python:context.name.field(size=60)">
23462346 name</td>
23472347 </tr>
@@ -2379,7 +2379,7 @@ So putting it all together, and closing the table and form we get::
23792379 <tr><th class="header" colspan="2">Category</th></tr>
23802380
23812381 <tr>
2382- <th nowrap >Name</th>
2382+ <th>Name</th>
23832383 <td tal:content="structure python:context.name.field(size=60)">
23842384 name</td>
23852385 </tr>
@@ -2414,7 +2414,7 @@ Just like ``category.issue.html`` this file defines a form which has a
24142414table to lay things out. It doesn't matter where in the table we add new
24152415stuff, it is entirely up to your sense of aesthetics::
24162416
2417- <th nowrap >Category</th>
2417+ <th>Category</th>
24182418 <td><span tal:replace="structure context/category/field" />
24192419 <span tal:replace="structure db/category/classhelp" />
24202420 </td>
@@ -2578,12 +2578,12 @@ issues to. You can do this by following these steps:
257825784. in the ``issue.item.html`` template, change the status editing bit
25792579 from::
25802580
2581- <th nowrap >Status</th>
2581+ <th>Status</th>
25822582 <td tal:content="structure context/status/menu">status</td>
25832583
25842584 to::
25852585
2586- <th nowrap >Status</th>
2586+ <th>Status</th>
25872587 <td>
25882588 <select tal:condition="context/id" name="status">
25892589 <tal:block tal:define="ok context/status/transitions"
@@ -2613,7 +2613,7 @@ Alter the issue.item template section for messages to::
26132613 <td><a tal:attributes="href string:msg${msg/id}"
26142614 tal:content="string:msg${msg/id}"></a></td>
26152615 <td tal:content="msg/author">author</td>
2616- <td nowrap tal:content="msg/date/pretty">date</td>
2616+ <td class="date" tal:content="msg/date/pretty">date</td>
26172617 <td tal:content="msg/summary">summary</td>
26182618 <td>
26192619 <a tal:attributes="href string:?@remove@messages=${msg/id}&@action=edit">
@@ -2720,11 +2720,11 @@ Setting up a "wizard" (or "druid") for controlled adding of issues
27202720
27212721 <tal:block tal:condition="python:cat in '6 10 13 14 15 16 17'.split()">
27222722 <tr>
2723- <th nowrap >Operating System</th>
2723+ <th>Operating System</th>
27242724 <td tal:content="structure context/os/field"></td>
27252725 </tr>
27262726 <tr>
2727- <th nowrap >Web Browser</th>
2727+ <th>Web Browser</th>
27282728 <td tal:content="structure context/browser/field"></td>
27292729 </tr>
27302730 </tal:block>
@@ -2931,7 +2931,7 @@ be able to give a summary of the total time spent on a particular issue.
29312931 field to capture a new timelog item's perdiod::
29322932
29332933 <tr>
2934- <th nowrap >Time Log</th>
2934+ <th>Time Log</th>
29352935 <td colspan=3><input type="text" name="timelog-1@period" />
29362936 <br />(enter as '3y 1m 4d 2:40:02' or parts thereof)
29372937 </td>
@@ -3189,7 +3189,7 @@ that shows either one or the other. We'll use a new form variable,
31893189 <td><a tal:attributes="href string:msg${msg/id}"
31903190 tal:content="string:msg${msg/id}"></a></td>
31913191 <td tal:content="msg/author">author</td>
3192- <td nowrap tal:content="msg/date/pretty">date</td>
3192+ <td class="date" tal:content="msg/date/pretty">date</td>
31933193 <td tal:content="msg/summary">summary</td>
31943194 <td>
31953195 <a tal:attributes="href string:?@remove@messages=${msg/id}&@action=edit">remove</a>
@@ -3206,7 +3206,7 @@ that shows either one or the other. We'll use a new form variable,
32063206 <tal:block tal:repeat="msg context/messages">
32073207 <tr>
32083208 <th tal:content="msg/author">author</th>
3209- <th nowrap tal:content="msg/date/pretty">date</th>
3209+ <th class="date" tal:content="msg/date/pretty">date</th>
32103210 <th style="text-align: right">
32113211 (<a tal:attributes="href string:?@remove@messages=${msg/id}&@action=edit">remove</a>)
32123212 </th>
@@ -3242,7 +3242,7 @@ resolved. To achieve this:
324232422. Add the new "blockers" property to the issue.item edit page, using
32433243 something like::
32443244
3245- <th nowrap >Waiting On</th>
3245+ <th>Waiting On</th>
32463246 <td>
32473247 <span tal:replace="structure python:context.blockers.field(showid=1,
32483248 size=20)" />
0 commit comments