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

Shawn Moore sartak at bestpractical.com
Wed Feb 9 22:46:15 EST 2011


The branch, master has been updated
       via  f8d513676971f910a1b9dd15beaec2b94c0cc939 (commit)
      from  44762cf6141b71f7ddb46b26f6de5099b1120ba5 (commit)

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

- Log -----------------------------------------------------------------
commit f8d513676971f910a1b9dd15beaec2b94c0cc939
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Feb 9 22:46:04 2011 -0500

    Include timestamp in the update

diff --git a/lib/Jifty/Plugin/RecordHistory/View.pm b/lib/Jifty/Plugin/RecordHistory/View.pm
index 0009b9b..287c772 100644
--- a/lib/Jifty/Plugin/RecordHistory/View.pm
+++ b/lib/Jifty/Plugin/RecordHistory/View.pm
@@ -118,7 +118,10 @@ template 'change' => sub {
 
     my $template = 'change-' . $change->type;
 
-    dd { show $template => $change };
+    dd {
+        div { $change->created_on->hms };
+        show $template => $change
+    };
 };
 
 template 'change-create' => sub {

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



More information about the Bps-public-commit mailing list