1 2002-02-05 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 roundup-server.
13 Q: Displaying messages not only the summary
15 A: in instance/html/msg.index
17 change
18 <td><display call="plain('summary')"></td>
19 to
20 <td><pre><display call="plain('content')"></pre></td>
22 displays the whole message not only the first line and <pre>
23 prevents the browser from reformatting.
27 Q: Getting the nosy list picker instead of textfield.
29 In classic template there is plenty of space below the text field.
31 A: in instance/html/issue.item
33 At the file top set border=1 to see cell boundaries.
35 replace
36 <td class="form-text"><display call="field('nosy',size=20)"></td>
37 by
38 <td rowspan=5 class="form-text"><display call="menu('nosy',height=10)"></td>
40 remove the last cell in the next four rows, either by deleting a cell
41 or by reducing colspan.
45 Q: I wanted to see the issue id (the number) on the issue item display:
47 A:
48 In file INSTANCE/html/issue.item change, showed e.g. "(anonymous)"
49 <td class="form-text"><display call="reldate('creation', pretty=1)">
50 (<display call="plain('creator')">)</td>
52 to to see "(
53 <td class="form-text"><display call="reldate('creation', pretty=1)">
54 (issue<display call="plain('id')"> by <display call="plain('creator')">)</td>
56 Q: Living without a mailserver.
58 A: Remove the nosy reactor - delete the file
59 <instance home>/detectors/nosyreactor.py