From: Karl O. Pinc Date: Tue, 16 Jul 2024 13:07:16 +0000 (-0500) Subject: Better response variable name db_changed -> report_success X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=9e49c2171590140bec5fe6501581074413bd3888;p=pgwui_common Better response variable name db_changed -> report_success --- 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