Skip to content

Commit 19fb70d

Browse files
author
Richard Jones
committed
under the heading of "questionable whether it's a fix or not"
([SF#621226] for the users of the "standards compliant" browser IE)
1 parent 43bf633 commit 19fb70d

File tree

4 files changed

+23
-22
lines changed

4 files changed

+23
-22
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ Fixed:
8888
- fixed missing (pre-commit) journal entries in *dbm backends (sf bug 679217)
8989
- URL cited in roundup email confusing dumb Email clients (sf bug 716585)
9090
- set title on issues even when the email body is empty (sf bug 727430)
91+
- under the heading of "questionable whether it's a fix or not"
92+
(sf "bug" 621226 for the users of the "standards compliant" browser IE)
9193

9294

9395
2003-??-?? 0.5.7

templates/classic/html/issue.index.html

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,29 @@ <h2>List of issues</h2>
3232
tal:content="python:i[request.group[1]]" class="group">
3333
</th>
3434
</tr>
35-
<tr tal:attributes="class python:['normal', 'alt'][repeat['i'].index%6/3]">
36-
<td tal:condition="request/show/priority" tal:content="i/priority"></td>
37-
<td tal:condition="request/show/id" tal:content="i/id"></td>
35+
36+
<tr>
37+
<td tal:condition="request/show/priority"
38+
tal:content="python:i.priority.plain() or default">&nbsp;</td>
39+
<td tal:condition="request/show/id" tal:content="i/id">&nbsp;</td>
3840
<td nowrap tal:condition="request/show/creation"
39-
tal:content="i/creation/reldate"></td>
41+
tal:content="i/creation/reldate">&nbsp;</td>
4042
<td nowrap tal:condition="request/show/activity"
41-
tal:content="i/activity/reldate"></td>
42-
<td tal:condition="request/show/topic" tal:content="i/topic"></td>
43+
tal:content="i/activity/reldate">&nbsp;</td>
44+
<td tal:condition="request/show/topic"
45+
tal:content="python:i.topic.plain() or default">&nbsp;</td>
4346
<td tal:condition="request/show/title">
4447
<a tal:attributes="href string:issue${i/id}"
4548
tal:content="python:str(i.title.plain(hyperlink=0)) or '[no title]'">title</a>
4649
</td>
47-
<td tal:condition="request/show/status" tal:content="i/status"></td>
48-
<td tal:condition="request/show/creator" tal:content="i/creator"></td>
49-
<td tal:condition="request/show/assignedto" tal:content="i/assignedto"></td>
50+
<td tal:condition="request/show/status"
51+
tal:content="python:i.status.plain() or default">&nbsp;</td>
52+
<td tal:condition="request/show/creator"
53+
tal:content="python:i.creator.plain() or default">&nbsp;</td>
54+
<td tal:condition="request/show/assignedto"
55+
tal:content="python:i.assignedto.plain() or default">&nbsp;</td>
5056
</tr>
57+
5158
</tal:block>
5259
<tr class="navigation" tal:define="colspan python:len(request.columns)">
5360
<th tal:attributes="colspan python:colspan/2">

templates/classic/html/style.css

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,19 +128,11 @@ table.list td {
128128
padding: 0 4 0 4;
129129
border: 1px solid white;
130130
color: #404070;
131-
background-color: white;
131+
background-color: #efefef;
132132
vertical-align: top;
133133
empty-cells: show;
134134
}
135135

136-
table.list tr.normal td {
137-
background-color: #efefef;
138-
}
139-
140-
table.list tr.alt td {
141-
background-color: #efefef;
142-
}
143-
144136
table.list tr.navigation th {
145137
text-align: right;
146138
}

templates/classic/html/user.index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ <h2>User listing</h2>
2525
<a tal:attributes="href string:user${user/id}"
2626
tal:content="user/username">username</a>
2727
</td>
28-
<td tal:content="user/realname">realname</td>
29-
<td tal:content="user/organisation">organisation</td>
30-
<td tal:content="python:user.address.email()">address</td>
31-
<td tal:content="user/phone">phone</td>
28+
<td tal:content="python:user.realname.plain() or default">&nbsp;</td>
29+
<td tal:content="python:user.organisation.plain() or default">&nbsp;</td>
30+
<td tal:content="python:user.address.email() or default">&nbsp;</td>
31+
<td tal:content="python:user.phone.plain() or default">&nbsp;</td>
3232
<td tal:condition="context/is_edit_ok">
3333
<a tal:attributes="href string:user${user/id}?:action=retire&:template=index">
3434
retire</a>

0 commit comments

Comments
 (0)