From 3c9cd0843299117bdff219b56cd332801f69846a Mon Sep 17 00:00:00 2001 From: Eivind Dalholt Date: Mon, 25 Sep 2023 15:55:04 +0200 Subject: [PATCH] style: improve labels (#199) --- frontend/src/components/VotationBox.tsx | 9 ++++++++- frontend/src/components/VotationPanel.tsx | 6 ++++-- frontend/src/pages/AssemblyPage.tsx | 7 ++++++- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/VotationBox.tsx b/frontend/src/components/VotationBox.tsx index a15ac96..2283a20 100644 --- a/frontend/src/components/VotationBox.tsx +++ b/frontend/src/components/VotationBox.tsx @@ -77,9 +77,16 @@ export function VotationBox(state: { {currentVotation.title} - + {currentVotation.voteText} + {currentVotation.maximumOptions > 1 && ( + <> + + You can choose up to {currentVotation.maximumOptions} options + + + )} @@ -270,6 +270,8 @@ function VotationPanel({ : option.title + "" )} + Maximum selectable options: + {votation.maximumOptions} ) : ( <> - {groupName && Check-in for {groupName}} + {groupName && Check-in} + {groupName && ( + + Please present this QR-code to the secretary when entering. + + )} )}