From 3c537d8aed1becd8a6e827c96579dee2b0611ee6 Mon Sep 17 00:00:00 2001 From: Eduardo Robles Date: Fri, 17 Nov 2023 09:19:07 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Voting=20Booth:=20Security=20confir?= =?UTF-8?q?mation=20checkbox=20support=20(#140)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Parent issue: https://github.com/sequentech/meta/issues/224 --- .../reference/election-creation-json.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/docs/general/reference/election-creation-json.md b/docs/general/reference/election-creation-json.md index 2b037bd..66a06e7 100644 --- a/docs/general/reference/election-creation-json.md +++ b/docs/general/reference/election-creation-json.md @@ -886,6 +886,36 @@ be useful. See more When set to true, this forces the `Continue` button at the botting of the screens in the ballot box to always be fixed to the absolute bottom of the web brower window. + +### Election Presentation: `mandatory_acceptance_tos_html` + +- **Property name**: `mandatory_acceptance_tos_html` +- **Type:** `Option` +- **Required:** No +- **Default:** - +- **Example:** `"I accept the Terms and conditions"` + +If set to some string, then the voting booth will show the given Basic HTML text +with a checkbox in that Start Screen of the Voting Booth, and the Start Voting +action button below will be disabled until the voter clicks and marks the +checkbox for accepting these terms. + + +### Election Presentation: `mandatory_acceptance_tos_html_i18n` + +- **Property name**: `mandatory_acceptance_tos_html` +- **Type:** `Option>` +- **Required:** No +- **Default:** - +```json +{ + "es": "Acepto las Condiciones de Servicio"" +} +``` + +If defined, it's a map of internationalization strings, grouped by language, for +the `mandatory_acceptance_tos_html` field. + ### Election Presentation: `booth_log_out__countdown_seconds` - **Property name**: `booth_log_out__countdown_seconds`