From 7a4f6d29874b0a800c0163a12195ffa9cb8727d6 Mon Sep 17 00:00:00 2001 From: Steve Losh Date: Sun, 1 Feb 2009 20:01:13 -0500 Subject: Changes before Laura checks it out. --- templates/base.html | 10 +++++++++- templates/bug.html | 6 +++--- templates/list.html | 2 +- 3 files changed, 13 insertions(+), 5 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 2503224..0b44d81 100644 --- a/templates/base.html +++ b/templates/base.html @@ -19,6 +19,13 @@ $('#external-pane').hide(); $('#external-pane-content').corners('bottom 8px'); + $('#show-rhythm').click(function(e) { + $('body').addClass('rhythm'); + $('#content-pane').addClass('rhythm'); + $('#external-pane-content').addClass('rhythm'); + e.preventDefault(); + }); + $('#filter-assignee').click(function(e) { $('#external-pane-content').html($('#assignees').html()); $('#external-pane').fadeIn('fast'); @@ -82,7 +89,8 @@ Jinja2, and jQuery.
- He asked aardvarks for help. + He asked aardvarks for help + to make it all line up.

diff --git a/templates/bug.html b/templates/bug.html index 48571e9..f9d5943 100644 --- a/templates/bug.html +++ b/templates/bug.html @@ -10,7 +10,7 @@ function set_current_detail_default_values() { $('#bug-details-edit-status option[value="{{ bug.status }}"]').attr('selected', 'yes'); $('#bug-details-edit-target option[value="{{ bug.target|e }}"]').attr('selected', 'yes'); - $('#bug-details-edit-assignee option[value="{{ bug.assigned|striptags }}"]').attr('selected', 'yes'); + $('#bug-details-edit-assignee option[value^="{{ bug.assigned|striptags }}"]').attr('selected', 'yes'); $('#bug-details-edit-severity option[value="{{ bug.severity }}"]').attr('selected', 'yes'); } @@ -105,7 +105,7 @@ @@ -128,7 +128,7 @@
- +
diff --git a/templates/list.html b/templates/list.html index e28b0c0..8fad7cd 100644 --- a/templates/list.html +++ b/templates/list.html @@ -17,7 +17,7 @@ {{ bd.bug_shortname(bug) }} - {{ bug.summary|e|truncate(65) }} + {{ bug.summary|e|truncate(60) }} {{ bug.status }} {{ bug.target }} {{ bug.assigned|striptags }} -- cgit