[Bps-public-commit] jifty-plugin-recordhistory branch, master, updated. c120026ad8843e7778967d7b78b26d62749b0dd6

Shawn Moore sartak at bestpractical.com
Sat Feb 12 00:04:39 EST 2011


The branch, master has been updated
       via  c120026ad8843e7778967d7b78b26d62749b0dd6 (commit)
      from  c213d0ebd7e3685e6ad01a7a1e68fe6f156aea62 (commit)

Summary of changes:
 lib/Jifty/Plugin/RecordHistory/View.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit c120026ad8843e7778967d7b78b26d62749b0dd6
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Sat Feb 12 00:04:31 2011 -0500

    Include change-$type as a css class

diff --git a/lib/Jifty/Plugin/RecordHistory/View.pm b/lib/Jifty/Plugin/RecordHistory/View.pm
index 8dffa6a..b18c50d 100644
--- a/lib/Jifty/Plugin/RecordHistory/View.pm
+++ b/lib/Jifty/Plugin/RecordHistory/View.pm
@@ -127,7 +127,7 @@ template 'change' => sub {
     my $template = 'change-' . $change->type;
 
     dd {
-        { class is 'change' };
+        { class is 'change change-' . $change->type };
         div {
             { class is 'time' };
             $change->created_on->hms

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list