diff --git a/templates/table/colonnade.hamlet b/templates/table/colonnade.hamlet index ef6b1bdbd..90951ce7c 100644 --- a/templates/table/colonnade.hamlet +++ b/templates/table/colonnade.hamlet @@ -1,10 +1,17 @@ - - $maybe sortableP <- pSortable - $with toSortable <- toSortable sortableP - - $forall OneColonnade{..} <- getColonnade dbtColonnade - ^{widgetFromCell th $ withSortLinks $ toSortable oneColonnadeHead} - $nothing +$if not psShortcircuit +
+ $maybe sortableP <- pSortable + $with toSortable <- toSortable sortableP + + $forall OneColonnade{..} <- getColonnade dbtColonnade + ^{widgetFromCell th $ withSortLinks $ toSortable oneColonnadeHead} + $nothing + + $forall row <- rows + + $forall OneColonnade{..} <- getColonnade dbtColonnade + ^{widgetFromCell td $ oneColonnadeEncode row} +$else $forall row <- rows