% if ( ref $document ) {
% my ($a1, $a2) = $document->url ? ('','') : ('','');
% my $img = $document->get_image('icon');
% if ( ref $img && exists $img->{filename} ) {
% } % my $dtime = Contenido::DateTime::new ( postgres => $document->dtime ); <% sprintf("%02d.%02d %02d:%02d",$dtime->day,$dtime->month,$dtime->hour,$dtime->min) %> |
% if ( $document->source ) {
<% $a1.$document->source.$a2 %>
% }
% foreach my $doc ( @$documents ) {
% my $dtime = Contenido::DateTime::new ( postgres => $doc->dtime );
<% sprintf("%02d.%02d",$dtime->day,$dtime->month) %> <% sprintf("%02d:%02d",$dtime->hour,$dtime->min) %>
<% $doc->name %>
% }
|