--- a/feedback/views.py Sat Apr 17 13:20:33 2010 +0530
+++ b/feedback/views.py Sat Apr 17 13:38:25 2010 +0530
@@ -107,12 +107,11 @@
day_feeds = Feedback.objects.filter(event=event,day=day_num)
day_report = make_day_report(day_feeds)
if day_report:
- day_comments = "Comments: <br /><ol>"
+ day_comments = []
for feed in day_feeds:
if feed.comments:
- day_comments += "<li>%s</li>"%feed.comments
- day_comments += "</ol>"
- day_report.append(day_comments)
+ day_comments.append(feed.comments)
+ day_report.extend(["Comments:",day_comments])
workshop_report.extend( [ "Day %s"%day_num, day_report] )
return render_to_response("show_report.html", {"user":user, "event":event, "workshop_report":workshop_report})