From 24f710828e610693cce99b33add5d5e06ebec924 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Thu, 8 Oct 2015 17:33:43 +0200 Subject: [PATCH] Show load more only if needed --- admin/templates/comments.html.twig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/admin/templates/comments.html.twig b/admin/templates/comments.html.twig index 1c51477..221b227 100644 --- a/admin/templates/comments.html.twig +++ b/admin/templates/comments.html.twig @@ -96,9 +96,11 @@ - + {% if grav.twig.comments.totalRetrieved < grav.twig.comments.totalAvailable %} + + {% endif %}

Showing {{grav.twig.comments.totalRetrieved}} comments of {{grav.twig.comments.totalAvailable}}