From 73d535d8c3a7b976146865b34809e36ae47a3833 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 11 Apr 2018 14:37:39 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/table/colonnade.hamlet | 9 ++++----- templates/table/layout.hamlet | 13 ++++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/templates/table/colonnade.hamlet b/templates/table/colonnade.hamlet index 90951ce7c..b109dd442 100644 --- a/templates/table/colonnade.hamlet +++ b/templates/table/colonnade.hamlet @@ -12,8 +12,7 @@ $if not psShortcircuit $forall OneColonnade{..} <- getColonnade dbtColonnade ^{widgetFromCell td $ oneColonnadeEncode row} $else - - $forall row <- rows - - $forall OneColonnade{..} <- getColonnade dbtColonnade - ^{widgetFromCell td $ oneColonnadeEncode row} + $forall row <- rows + + $forall OneColonnade{..} <- getColonnade dbtColonnade + ^{widgetFromCell td $ oneColonnadeEncode row} diff --git a/templates/table/layout.hamlet b/templates/table/layout.hamlet index 009e4eb2c..eb5651cb3 100644 --- a/templates/table/layout.hamlet +++ b/templates/table/layout.hamlet @@ -1,6 +1,9 @@ -
+$if not psShortcircuit +
+ ^{table} + $if pageCount > 1 +

+ $# TODO: foreach (reachable pages) print link to that page + _{MsgPage (succ psPage) pageCount} +$else ^{table} - $if pageCount > 1 -

- $# TODO: foreach (reachable pages) print link to that page - _{MsgPage (succ psPage) pageCount}