my ($ctx, $eml) = @_;
$ctx->zmore($ctx->html_top) if exists $ctx->{-html_tip};
- $eml and return PublicInbox::View::eml_entry($ctx, $eml,
- scalar @{$ctx->{msgs}});
+ $eml and return PublicInbox::View::eml_entry($ctx, $eml);
my $smsg = shift @{$ctx->{msgs}} or
$ctx->zmore(PublicInbox::View::pagination_footer(
$ctx, './new.html'));
}
}
- $ctx->{next_page} = "r=$last_commit" if $last_commit;
+ $last_commit and
+ $ctx->{next_page} = qq[<a\nhref="?r=$last_commit"\nrel=next>] .
+ 'next (older)</a>';
+
[ map { bless {blob => $_ }, 'PublicInbox::Smsg' } @oids ];
}