Some more fixes to get BE-Web working with libbe changes.
authorW. Trevor King <wking@drexel.edu>
Wed, 19 Nov 2008 17:02:23 +0000 (12:02 -0500)
committerW. Trevor King <wking@drexel.edu>
Wed, 19 Nov 2008 17:02:23 +0000 (12:02 -0500)
Bugs-Everywhere-Web/beweb/templates/edit_comment.kid

index 551db9d0291da31d8aedc5a29e3eb137feb0ee0e..2b522d476c0c9b94bcf7b0e3eb34bc0fb6b23618 100644 (file)
@@ -1,6 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <?python
-from libbe.bugdir import severity_levels
 from libbe.utility import time_to_str 
 from beweb.controllers import bug_list_url, bug_url
 ?>
@@ -17,7 +16,7 @@ from beweb.controllers import bug_list_url, bug_url
 <form method="post">
 <table>
     <tr><td>From</td><td>${comment.From}</td></tr>
-    <tr><td>Date</td><td>${time_to_str(comment.date)}</td></tr>
+    <tr><td>Date</td><td>${time_to_str(comment.time)}</td></tr>
 </table>
 <insetbox><textarea rows="15" cols="80" py:content="comment.body" name="comment_body" style="border-style: none"/></insetbox>
 <p><input type="submit" name="action" value="Update"/></p>