From 46953e63dd929637f67a4d10065a3f28c403dbdf Mon Sep 17 00:00:00 2001 From: Steve Losh Date: Sat, 31 Jan 2009 02:24:31 -0500 Subject: Implemented the single bug view. --- templates/bug.html | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 templates/bug.html (limited to 'templates') diff --git a/templates/bug.html b/templates/bug.html new file mode 100644 index 0000000..ee359f7 --- /dev/null +++ b/templates/bug.html @@ -0,0 +1,41 @@ +{% extends "base.html" %} + +{% block page_title %} + Bug {{ bd.bug_shortname(bug) }} – {{ bug.summary }} +{% endblock %} + +{% block content %} +

Created on {{ bug.time|datetimeformat }} by {{ bug.creator|e }}

+ +

Bug Details

+

+ Status: + {{ bug.status }}
+ + Severity: + {{ bug.severity }}
+ + Scheduled for: + {{ bug.target }}
+ + Assigned to: + {{ bug.assigned|e }}
+ + Permanent ID: + {{ bug.uuid }}
+

+ +

Summary

+

+ {{ bug.summary }} +

+ +

Comments

+ {% for comment in bug.comments() %} +
+

{{ comment.From|e }} said:

+

{{ comment.body|trim|e }}

+ +
+ {% endfor %} +{% endblock %} \ No newline at end of file -- cgit