From 756f8cbdb9d6208f0f5720793e6cfa3dd0c8c25c Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Sat, 26 Jan 2019 21:16:03 +0100 Subject: [PATCH] add rowcount to pagination --- messages/uniworx/de.msg | 3 ++- templates/table/layout.hamlet | 21 ++++++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/messages/uniworx/de.msg b/messages/uniworx/de.msg index c75a4fb73..725d16422 100644 --- a/messages/uniworx/de.msg +++ b/messages/uniworx/de.msg @@ -207,6 +207,7 @@ CorByProportionOnly proportion@Rational: #{display proportion} Anteile CorByProportionIncludingTutorial proportion@Rational: #{display proportion} Anteile - Tutorium CorByProportionExcludingTutorial proportion@Rational: #{display proportion} Anteile + Tutorium +RowCount count@Int64: #{display count} #{pluralDE count "Eintrag" "Einträge"} insgesamt DeleteRow: Zeile entfernen ProportionNegative: Anteile dürfen nicht negativ sein CorrectorUpdated: Korrektor erfolgreich aktualisiert @@ -608,4 +609,4 @@ DeleteCopyStringIfSure n@Int: Wenn Sie sich sicher sind, dass Sie #{pluralDE n " DeleteConfirmation: Bestätigung DeleteConfirmationWrong: Bestätigung muss genau dem angezeigten Text entsprechen. -DBTIRowsMissing n@Int: #{pluralDE n "Eine Zeile ist" "Einige Zeile sind"} aus der Datenbank verschwunden, seit das Formular für Sie generiert wurde \ No newline at end of file +DBTIRowsMissing n@Int: #{pluralDE n "Eine Zeile ist" "Einige Zeile sind"} aus der Datenbank verschwunden, seit das Formular für Sie generiert wurde diff --git a/templates/table/layout.hamlet b/templates/table/layout.hamlet index ed4677c7a..a7e4070cc 100644 --- a/templates/table/layout.hamlet +++ b/templates/table/layout.hamlet @@ -3,12 +3,15 @@ $if null rows && (dbsEmptyStyle == DBESNoHeading) _{dbsEmptyMessage} $else ^{table} -
-
- ^{pagesizeWdgt} - $if pageCount > 1 -