backend: rename gallery_nav_pager -> nav_pager
This commit is contained in:
parent
5b8cbd37e5
commit
f2ee7e3db8
@ -21,7 +21,7 @@ sub http_tiny ()
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub gallery_nav_pager ($$)
|
sub nav_pager ($$)
|
||||||
{
|
{
|
||||||
my ($p, $uri) = @_;
|
my ($p, $uri) = @_;
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ get "/" => sub {
|
|||||||
template "gallery" => {
|
template "gallery" => {
|
||||||
title => "PoorBooru",
|
title => "PoorBooru",
|
||||||
media => \@media,
|
media => \@media,
|
||||||
pager => gallery_nav_pager($data->{pager}, "/"),
|
pager => nav_pager($data->{pager}, "/"),
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ get "/tags" => sub {
|
|||||||
template "tags" => {
|
template "tags" => {
|
||||||
title => "Tags",
|
title => "Tags",
|
||||||
tags => \@tags,
|
tags => \@tags,
|
||||||
pager => gallery_nav_pager($data->{pager}, "/tags"),
|
pager => nav_pager($data->{pager}, "/tags"),
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user