Skip to content

Commit

Permalink
✨ Voting Booth: Security confirmation checkbox support (#140)
Browse files Browse the repository at this point in the history
Parent issue: sequentech/meta#224
  • Loading branch information
edulix authored Nov 17, 2023
1 parent 5ada56f commit 3c537d8
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docs/general/reference/election-creation-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>`
- **Required:** No
- **Default:** -
- **Example:** `"I accept the <strong>Terms and conditions</strong>"`

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<Map<String, String>>`
- **Required:** No
- **Default:** -
```json
{
"es": "Acepto las <strong>Condiciones de Servicio</strong>""
}
```

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`
Expand Down

0 comments on commit 3c537d8

Please sign in to comment.