From d246c5f48fe67cced2a9f1fc2cd414cee606c7e0 Mon Sep 17 00:00:00 2001 From: Jan Pecha Date: Tue, 19 Sep 2023 08:11:49 +0200 Subject: [PATCH] Fixed compatibility with newer Latte --- src/templates/default/@grid.latte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/templates/default/@grid.latte b/src/templates/default/@grid.latte index ae1e95d..0e61295 100644 --- a/src/templates/default/@grid.latte +++ b/src/templates/default/@grid.latte @@ -43,7 +43,7 @@ {foreach $columns as $column} - {var $columnAttrs = $column->getAttributes([class => ['table__cell', 'table__cell--header']])} + {var $columnAttrs = $column->getAttributes(['class' => ['table__cell', 'table__cell--header']])} {if $column->isSortable()} {var $sort = $column->getSort()} @@ -87,11 +87,11 @@ -
+

Nenalezeny žádné vyhovující záznamy.

-{if $iterations} +{if count($rows) > 0}