From f2e64e8c05e9255be619ae4ce47e9419088b5005 Mon Sep 17 00:00:00 2001 From: Steve Losh Date: Sun, 1 Feb 2009 17:28:05 -0500 Subject: Got bug detail editing working, except for the summary. --- templates/base.html | 8 ++---- templates/bug.html | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 75 insertions(+), 8 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index c860e65..2503224 100644 --- a/templates/base.html +++ b/templates/base.html @@ -36,15 +36,11 @@ e.preventDefault(); }); - $('#add-comment').click(function(e) { - $('#add-comment-link').hide(); - $('#add-comment-form').fadeIn('fast'); - e.preventDefault(); - }); - $('table tr:odd').addClass('stripe'); }); + + {% block script %}{% endblock %} diff --git a/templates/bug.html b/templates/bug.html index 2cdbb28..01a2476 100644 --- a/templates/bug.html +++ b/templates/bug.html @@ -4,11 +4,38 @@ Bug {{ bd.bug_shortname(bug) }} – {{ bug.summary }} {% endblock %} +{% block script %} + +{% endblock %} + {% block content %}

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

-

Bug Details

-

+

+ + edit + + +

Status: {{ bug.status }}
@@ -25,6 +52,50 @@ {{ bug.uuid }}

+
+
+ +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+

Summary

{{ bug.summary }} -- cgit