diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2006-04-12 12:45:25 -0400 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2006-04-12 12:45:25 -0400 |
commit | ae953c5c20a6cc95abe9a187c922d104edbc8b20 (patch) | |
tree | 141376aa76bd8c4ee7aa4812376ca867efefc69e /Bugs-Everywhere-Web | |
parent | c9f34b955da4f2c91233b9aa085d5cb90e506a26 (diff) | |
download | bugseverywhere-ae953c5c20a6cc95abe9a187c922d104edbc8b20.tar.gz |
Hide closed using display:None
Diffstat (limited to 'Bugs-Everywhere-Web')
-rw-r--r-- | Bugs-Everywhere-Web/beweb/templates/bugs.kid | 10 |
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> |