Use psShortcircuit in colonnade.hamlet
This commit is contained in:
parent
08607a5e7c
commit
3047dfe9f2
@ -1,10 +1,17 @@
|
|||||||
<table id="#{dbtIdent}">
|
$if not psShortcircuit
|
||||||
$maybe sortableP <- pSortable
|
<table id="#{dbtIdent}">
|
||||||
$with toSortable <- toSortable sortableP
|
$maybe sortableP <- pSortable
|
||||||
<thead>
|
$with toSortable <- toSortable sortableP
|
||||||
$forall OneColonnade{..} <- getColonnade dbtColonnade
|
<thead>
|
||||||
^{widgetFromCell th $ withSortLinks $ toSortable oneColonnadeHead}
|
$forall OneColonnade{..} <- getColonnade dbtColonnade
|
||||||
$nothing
|
^{widgetFromCell th $ withSortLinks $ toSortable oneColonnadeHead}
|
||||||
|
$nothing
|
||||||
|
<tbody>
|
||||||
|
$forall row <- rows
|
||||||
|
<tr>
|
||||||
|
$forall OneColonnade{..} <- getColonnade dbtColonnade
|
||||||
|
^{widgetFromCell td $ oneColonnadeEncode row}
|
||||||
|
$else
|
||||||
<tbody>
|
<tbody>
|
||||||
$forall row <- rows
|
$forall row <- rows
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user