Show number of comments in bug list
authorAaron Bentley <abentley@panoramicfeedback.com>
Wed, 25 Jan 2006 22:13:06 +0000 (17:13 -0500)
committerAaron Bentley <abentley@panoramicfeedback.com>
Wed, 25 Jan 2006 22:13:06 +0000 (17:13 -0500)
.be/bugs/62a74b85-0d4b-49f5-8794-74bafd871cd4/values
beweb/beweb/templates/bugs.kid

index 8db835cc70802a784e7ecf94f340df08cb021865..509920ec1684a1ab6129d74f8c69dfd4035a9491 100644 (file)
@@ -15,7 +15,7 @@ severity=minor
 
 
 
-status=open
+status=closed
 
 
 
index c174d008c6bcfab6ea82ef28ec3a1f58c6541101..30004fc1e50879bcf8742a1f6aec99ab12f6db50 100644 (file)
@@ -20,8 +20,8 @@ def row_class(bug):
 <body>
 <h1>Bug list for ${project_name}</h1>
 <table>
-<tr><td>ID</td><td>Status</td><td>Severity</td><td>Assigned To</td><td>Summary</td></tr>
-<div py:for="bug in bugs" py:strip="True"><tr class="${row_class(bug)}" py:if="bug.active or show_closed"><td><a href="${bug_url(project_id, bug.uuid)}">${unique_name(bug, bugs[:])}</a></td><td>${bug.status}</td><td>${bug.severity}</td><td>${people.get(bug.assigned, bug.assigned)}</td><td>${bug.summary}</td></tr>
+<tr><td>ID</td><td>Status</td><td>Severity</td><td>Assigned To</td><td>Comments</td><td>Summary</td></tr>
+<div py:for="bug in bugs" py:strip="True"><tr class="${row_class(bug)}" py:if="bug.active or show_closed"><td><a href="${bug_url(project_id, bug.uuid)}">${unique_name(bug, bugs[:])}</a></td><td>${bug.status}</td><td>${bug.severity}</td><td>${people.get(bug.assigned, bug.assigned)}</td><td>${len(list(bug.iter_comment_ids()))}</td><td>${bug.summary}</td></tr>
 </div>
 </table>
 <a href="${project_url()}">Project list</a>