fradrive/templates/table/layout.hamlet
Gregor Kleen 5101cf9c1e Partially revert "no empty tables on profile page and spacing for containers"
This partially reverts commit c114e29437.

Handling of empty tables was broken (see /terms with no terms in database)
2018-07-06 18:54:04 +02:00

11 lines
336 B
Plaintext

$newline never
<div ##{dbtIdent}-table-wrapper>
<div .scrolltable>
^{table}
$if pageCount > 1
<ul ##{dbtIdent}-pagination .pagination>
$forall p <- pageNumbers
<li .pagination-link :p == psPage:.current>
<a href=#{tblLink $ setParam (wIdent "page") (Just $ tshow p)}>
_{MsgPage (succ p)}