[Bps-public-commit] jifty-plugin-recordhistory branch, master, updated. 0.01-5-gab971ac
Thomas Sibley
trs at bestpractical.com
Wed Feb 16 11:16:51 EST 2011
The branch, master has been updated
via ab971ac7af9e67688603d943cc3302afd27c4ecf (commit)
from 4c14c4eb0c61bfd34908e317d5140b7f8515e559 (commit)
Summary of changes:
lib/Jifty/Plugin/RecordHistory/View.pm | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit ab971ac7af9e67688603d943cc3302afd27c4ecf
Author: Thomas Sibley <trs at bestpractical.com>
Date: Wed Feb 16 11:16:18 2011 -0500
Rename the record template to record_type
This is more accurate, and leaves room for a record template that
displays the record itself.
diff --git a/lib/Jifty/Plugin/RecordHistory/View.pm b/lib/Jifty/Plugin/RecordHistory/View.pm
index 88a6acb..79498aa 100644
--- a/lib/Jifty/Plugin/RecordHistory/View.pm
+++ b/lib/Jifty/Plugin/RecordHistory/View.pm
@@ -146,7 +146,7 @@ template 'change-create' => sub {
my $change = shift;
span {
- show 'record' => $change->record;
+ show 'record_type' => $change->record;
outs _(' created by ');
show 'actor' => $change->created_by;
};
@@ -162,7 +162,7 @@ template 'change-update' => sub {
my $record = $change->record;
span {
- show 'record' => $record;
+ show 'record_type' => $record;
outs _(' updated by ');
show 'actor' => $change->created_by;
};
@@ -219,7 +219,7 @@ template 'change_field' => sub {
};
};
-template 'record' => sub {
+template 'record_type' => sub {
my $self = shift;
my $record = shift;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list