From 8e5be76ddb381879a272936aada4083958c351ec Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Fri, 2 Dec 2005 19:44:40 +0000 Subject: [PATCH] Display comments in view/edit bug display --- beweb/beweb/static/css/style.css | 21 +++++++++++++++++++++ beweb/beweb/templates/edit_bug.kid | 10 +++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/beweb/beweb/static/css/style.css b/beweb/beweb/static/css/style.css index 6f43777..9abc144 100644 --- a/beweb/beweb/static/css/style.css +++ b/beweb/beweb/static/css/style.css @@ -46,3 +46,24 @@ body font-family: "Verdana"; font-size:11pt; } +.comment +{ + margin-top: 1em; + margin-bottom; 60px; + padding: 0.5em; + border: dashed thin black; + background-color: #ffa; + width:60% +} +.comment table +{ + background-color: transparent; +} +.comment td +{ + background-color: transparent; +} +.comment pre +{ + font-family: "Verdana"; +} diff --git a/beweb/beweb/templates/edit_bug.kid b/beweb/beweb/templates/edit_bug.kid index 9581dac..4001253 100644 --- a/beweb/beweb/templates/edit_bug.kid +++ b/beweb/beweb/templates/edit_bug.kid @@ -1,6 +1,7 @@ ' % name] for option in options: @@ -27,7 +28,14 @@ def select_among(name, options, default): StatusSeverityAssigned ToSummary ${select_among("status", ["open", "closed", "in-progress"], bug.status)}${select_among("severity", severity_levels, bug.severity)}${bug.assigned} - +
+ + + +
From${comment.From}
Date${time_to_str(comment.date)}
+
${comment.body}
+
+

Bug List -- 2.26.2