From b8108da2fe48b4d5f84acec9b18d796d98cbbfe8 Mon Sep 17 00:00:00 2001 From: James Cocker Date: Tue, 11 Jul 2023 12:35:58 +0100 Subject: [PATCH] PhotoGalleryHolder.ss: Updated to Bootstrap pagination --- .../Layout/PhotoGalleryHolder.ss | 58 ++++++++++++------- 1 file changed, 36 insertions(+), 22 deletions(-) diff --git a/templates/PurpleSpider/BasicGalleries/Layout/PhotoGalleryHolder.ss b/templates/PurpleSpider/BasicGalleries/Layout/PhotoGalleryHolder.ss index 621e120..6216503 100644 --- a/templates/PurpleSpider/BasicGalleries/Layout/PhotoGalleryHolder.ss +++ b/templates/PurpleSpider/BasicGalleries/Layout/PhotoGalleryHolder.ss @@ -40,31 +40,45 @@ $Content <% end_if %> <% end_loop %> - <% if Galleries.MoreThanOnePage %> - - <% end_if %> + <% if PaginatedGalleries.MoreThanOnePage %> + <% with $PaginatedGalleries %> + + <% end_with %> + <% end_if %> <% else %>

Sorry, we don't have any photo galleries yet. Please check back later.

<% end_if %> $Form -$PageComments \ No newline at end of file +$PageComments