From ae4def3a87064fdcafadfe8089388fec8655c236 Mon Sep 17 00:00:00 2001 From: barbequesauce Date: Tue, 17 Jul 2018 13:45:11 -0400 Subject: [PATCH] Update weeklypull.html BUG: (#2003) Changing weeks does not reset the table's page number; added "hidden" config option reset_pullist_pagination to disable functionality. --- data/interfaces/default/weeklypull.html | 26 ++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/data/interfaces/default/weeklypull.html b/data/interfaces/default/weeklypull.html index 69e411cc..cb52a089 100755 --- a/data/interfaces/default/weeklypull.html +++ b/data/interfaces/default/weeklypull.html @@ -28,17 +28,33 @@

- + - -
Previous + %if mylar.CONFIG.RESET_PULLIST_PAGINATION is True: + + %else: + + %endif + Previous + + %if wantedcount == 0:

Weekly Pull list for week ${weekinfo['weeknumber']} :
${weekinfo['startweek']} - ${weekinfo['endweek']}

%else:

Weekly Pull list for week ${weekinfo['weeknumber']} :
${weekinfo['startweek']} - ${weekinfo['endweek']} (${wantedcount})

%endif -
- Next
+ + + %if mylar.CONFIG.RESET_PULLIST_PAGINATION is True: + + %else: + + %endif + Next + + + +