aboutsummaryrefslogtreecommitdiffstats
path: root/Bugs-Everywhere-Web/beweb/templates
diff options
context:
space:
mode:
authorAaron Bentley <aaron.bentley@utoronto.ca>2006-04-17 18:12:29 -0400
committerAaron Bentley <aaron.bentley@utoronto.ca>2006-04-17 18:12:29 -0400
commit9703aefca39996f954a91f5426f193c06661e69c (patch)
tree954468c51800a8066eb82593e68bc0a300d8ca30 /Bugs-Everywhere-Web/beweb/templates
parent3b618f172c11d251f5f09874baa999b38e8ccc1f (diff)
parent4146eb30e62625216e49b103f7d32279730e5630 (diff)
downloadbugseverywhere-9703aefca39996f954a91f5426f193c06661e69c.tar.gz
Merge from other BE
Diffstat (limited to 'Bugs-Everywhere-Web/beweb/templates')
-rw-r--r--Bugs-Everywhere-Web/beweb/templates/bugs.kid12
1 files changed, 7 insertions, 5 deletions
diff --git a/Bugs-Everywhere-Web/beweb/templates/bugs.kid b/Bugs-Everywhere-Web/beweb/templates/bugs.kid
index 3271537..376e77b 100644
--- a/Bugs-Everywhere-Web/beweb/templates/bugs.kid
+++ b/Bugs-Everywhere-Web/beweb/templates/bugs.kid
@@ -6,11 +6,13 @@ from beweb.model import people_map
people = people_map()
def row_class(bug, num):
if not bug.active is True:
- return "closed"
- elif num % 2 == 0:
- return "even"
+ extra = "closed"
else:
- return "odd"
+ extra = ""
+ if num % 2 == 0:
+ return extra+"even"
+ else:
+ return extra+"odd"
def match(bug, show_closed, search):
@@ -43,7 +45,7 @@ def match(bug, show_closed, search):
</form>
<form action="${bug_list_url(project_id)}" method="get">
<input type="hidden" name="show_closed" value="False" />
-<input name="search" />
+<input name="search" value="$search"/>
<input type="submit" name="action" value="Search" />
</form>
</body>