1 2002-01-17 eg
3 NOTE: This is just a grabbag, most of this should go into
4 documentation.
6 Changing HTML layout
8 Note changes to the files in html take place immediatly without
9 restart, even when running toundup-server.
11 Q: Displaying messages not only the summary
13 A: in instance/html/msg.index
15 change
16 <td><display call="plain('summary')"></td>
17 to
18 <td><pre><display call="plain('content')"></pre></td>
20 displays the whole message not only the first line and <pre>
21 prevents the browser from reformatting.
23 Q: Getting the nosy list picker instead of textfield.
25 In classic template there is plenty of spcae below the text field.
27 A: in instance/html/issue.item
29 At the file top set border=1 to see cell boundaries.
31 replace
32 <td class="form-text"><display call="field('nosy',size=20)"></td>
33 by
34 <td rowspan=5 class="form-text"><display call="menu('nosy',height=10)"></td>
36 remove the last cell in the next four rows, either by deleting a cell
37 or by reducing colspan.
40 Q: I wanted to see the issue id (the number) on the issue item display:
42 A:
43 In file INSTANCE/html/issue.item change, showed e.g. "(anonymous)"
44 <td class="form-text"><display call="reldate('creation', pretty=1)">
45 (<display call="plain('creator')">)</td>
47 to to see "(
48 <td class="form-text"><display call="reldate('creation', pretty=1)">
49 (issue<display call="plain('id')"> by <display call="plain('creator')">)</td>