--- trunk/lib/Frey/SVN.pm 2008/12/15 20:10:48 851 +++ trunk/lib/Frey/SVN.pm 2008/12/15 20:36:12 852 @@ -116,9 +116,15 @@ } our $html = ''; - sub html { - $html .= join("\n", @_); - } + + $self->add_css(qq| + .files { color: #888; } + .date, .revision { color: #666; } + .message { padding-bottom: 0.5em; } + + ins { color: #8c8 } + del { color: #c88 } + |); $self->iterator( sub { my $e = shift; @@ -129,7 +135,14 @@ $date =~ s/T/ /; $date =~ s/\.\d+Z$//; - html '
'.$date.' ',$e->{'author'},' r',$e->{'revision'},'
'; + $html .= qq|'; + $html .= qq|',join(", ",@files),' ',$msg,'
$msg| . join(", ",@files) . qq||; });