From 9e49c2171590140bec5fe6501581074413bd3888 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Tue, 16 Jul 2024 08:07:16 -0500 Subject: [PATCH] Better response variable name db_changed -> report_success --- src/pgwui_common/templates/auth_base.mak | 4 ++-- src/pgwui_common/templates/base.mak | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pgwui_common/templates/auth_base.mak b/src/pgwui_common/templates/auth_base.mak index ca76372..867675d 100644 --- a/src/pgwui_common/templates/auth_base.mak +++ b/src/pgwui_common/templates/auth_base.mak @@ -35,7 +35,7 @@ For use with upload_form: csrf_token Token for detecting CSRF. - db_changed Boolean. Whether the db was changed. + report_success Boolean. Whether to tell the user the db was changed. session_expired Boolean. Whether the session has expired. last_key Token to detect duplicate uploads. db @@ -64,7 +64,7 @@
${self.auth_parts.hidden_vars(csrf_token)} - % if (db_changed or session_expired) and last_key: + % if (report_success or session_expired) and last_key: - % if db_changed: + % if report_success: <%block name="action_success" /> % endif -- 2.34.1