E74FJWCFNVUEG34WMRXTJ37MR4O5L6ZWK6PU2VTGE5DRNBKLYVVQC
FPK5LF53CFUEKFYJ3IYXT4UTVC6IITWJOCFATMC4PLHEUP5SIEAAC
YTSIRIMKV2EN6CMO6LFX5J3NBJJYWBJKYDU3Z53CGXCIWP3FYI2QC
2AIIYGI54TEFYBCGWMUA7JG2DMJXBKMYUZ7CG6ETIXF4ENNP74CQC
my ($self, $c, $page) = @_;
my ($self, $c) = @_;
$page = (defined $page ? int($page) : 1) || 1;
my $page = int($c->req->param('page')) || 1;
[<a href="[% "$baseUri/1" %]">First</a>]
[<a href="[% "$baseUri?page=1" %]">First</a>]
[<a href="[% "$baseUri/"; (page - 1) %]">Prev</a>]
[<a href="[% "$baseUri?page="; (page - 1) %]">Prev</a>]
[<a href="[% "$baseUri/"; (page + 1) %]">Next</a>]
[<a href="[% "$baseUri?page="; (page + 1) %]">Next</a>]
[<a href="[% "$baseUri/"; (totalBuilds - 1) div resultsPerPage + 1 %]">Last</a>]
[<a href="[% "$baseUri?page="; (totalBuilds - 1) div resultsPerPage + 1 %]">Last</a>]