aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2006-04-12 12:45:25 -0400
committerAaron Bentley <abentley@panoramicfeedback.com>2006-04-12 12:45:25 -0400
commitae953c5c20a6cc95abe9a187c922d104edbc8b20 (patch)
tree141376aa76bd8c4ee7aa4812376ca867efefc69e
parentc9f34b955da4f2c91233b9aa085d5cb90e506a26 (diff)
downloadbugseverywhere-ae953c5c20a6cc95abe9a187c922d104edbc8b20.tar.gz
Hide closed using display:None
-rw-r--r--Bugs-Everywhere-Web/beweb/templates/bugs.kid10
1 files changed, 7 insertions, 3 deletions
diff --git a/Bugs-Everywhere-Web/beweb/templates/bugs.kid b/Bugs-Everywhere-Web/beweb/templates/bugs.kid
index 376e77b..da2915a 100644
--- a/Bugs-Everywhere-Web/beweb/templates/bugs.kid
+++ b/Bugs-Everywhere-Web/beweb/templates/bugs.kid
@@ -16,9 +16,7 @@ def row_class(bug, num):
def match(bug, show_closed, search):
- if not show_closed and not bug.active:
- return False
- elif search is None:
+ if search is None:
return True
else:
return search.lower() in bug.summary.lower()
@@ -29,6 +27,12 @@ def match(bug, show_closed, search):
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
<title>Bugs for $project_name</title>
+ <style type="text/css" py:if="not show_closed">
+ tr.closedeven, tr.closedodd
+ {
+ display:None
+ }
+ </style>
</head>
<body>