From 6712b19dbd2d21e5e89ac7a8d748369ea0a4612f Mon Sep 17 00:00:00 2001 From: Benedict Börger Date: Sun, 14 Apr 2019 20:06:27 +0200 Subject: [web-fronted] refactoring code For historic reason, two handlers exists, one for POST and one for GET request. Merge these two to one GET request handler. This handler has optionally three parameteres: * filter: Filters the transactions by the given regex * date_start: Output only transactions after this date * date_end: Output only transactions before this date If more than one parameter is given, all filters must match for a transaction to be printed. --- templates/transaction.html.tera | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'templates/transaction.html.tera') diff --git a/templates/transaction.html.tera b/templates/transaction.html.tera index a1fe899..a39b7e3 100644 --- a/templates/transaction.html.tera +++ b/templates/transaction.html.tera @@ -45,19 +45,18 @@
-
+ {% if filter == "" %} {% else %} {% endif %} -
-
to - + to +

Transactions {{ account_name }}

-- cgit v1.2.3-70-g09d2