diff --git a/src/govoplan_voting/backend/manifest.py b/src/govoplan_voting/backend/manifest.py index 8152dec..e353356 100644 --- a/src/govoplan_voting/backend/manifest.py +++ b/src/govoplan_voting/backend/manifest.py @@ -327,7 +327,10 @@ manifest = ModuleManifest( id="voting.workspace-layout", title="Voting workspace layout", summary="Find workspace actions and read consistently arranged content.", - body="Reload and New ballot remain in the workspace-wide top bar, even when a ballot is selected or the catalogue is empty. Reload sits immediately before New. Ballot actions such as opening, casting, certification, challenge, and annulment stay with the selected ballot. New ballot stays visible but disabled without management permission. The shared layout changes no electorate or assurance policy; administrators retain the existing separate management, casting, certification, and administrative grants.", + body="Documentation books sit immediately beside the visible heading or contextual label for " + "Voting and ballot dialogs, not among operational action buttons. Field help remains beside " + "its label. " + "Reload and New ballot remain in the workspace-wide top bar, even when a ballot is selected or the catalogue is empty. Reload sits immediately before New. Ballot actions such as opening, casting, certification, challenge, and annulment stay with the selected ballot. New ballot stays visible but disabled without management permission. The shared layout changes no electorate or assurance policy; administrators retain the existing separate management, casting, certification, and administrative grants.", layer="static", documentation_types=("user", "admin"), audience=("user", "module_admin", "operator"), @@ -335,7 +338,10 @@ manifest = ModuleManifest( translations={"de": { "title": "Abstimmungen: Aufbau des Arbeitsbereichs", "summary": "Arbeitsbereichsaktionen finden und einheitlich angeordnete Inhalte lesen.", - "body": "Neu laden und Neue Abstimmung bleiben in der arbeitsbereichsweiten oberen Leiste, auch bei ausgewählter Abstimmung oder leerem Katalog. Neu laden steht unmittelbar vor Neu. Öffnen, Stimmabgabe, Zertifizierung, Anfechtung und Annullierung bleiben bei der ausgewählten Abstimmung. Neue Abstimmung bleibt ohne Verwaltungsrecht sichtbar, aber deaktiviert. Das gemeinsame Layout verändert weder Wählerschaft noch Zusicherung; die getrennten Verwaltungs-, Stimmabgabe-, Zertifizierungs- und Administrationsrechte bleiben bestehen.", + "body": "Dokumentationsbücher stehen unmittelbar neben der sichtbaren Überschrift oder " + "Kontextbezeichnung für Abstimmungen und Abstimmungsdialoge, nicht zwischen ausführbaren " + "Aktionsschaltflächen. Feldhilfe bleibt neben der Feldbezeichnung. " + "Neu laden und Neue Abstimmung bleiben in der arbeitsbereichsweiten oberen Leiste, auch bei ausgewählter Abstimmung oder leerem Katalog. Neu laden steht unmittelbar vor Neu. Öffnen, Stimmabgabe, Zertifizierung, Anfechtung und Annullierung bleiben bei der ausgewählten Abstimmung. Neue Abstimmung bleibt ohne Verwaltungsrecht sichtbar, aber deaktiviert. Das gemeinsame Layout verändert weder Wählerschaft noch Zusicherung; die getrennten Verwaltungs-, Stimmabgabe-, Zertifizierungs- und Administrationsrechte bleiben bestehen.", }}, ), DocumentationTopic( diff --git a/webui/src/features/voting/VotingBallotDialog.tsx b/webui/src/features/voting/VotingBallotDialog.tsx index 470aa29..7c79a1e 100644 --- a/webui/src/features/voting/VotingBallotDialog.tsx +++ b/webui/src/features/voting/VotingBallotDialog.tsx @@ -114,7 +114,7 @@ export default function VotingBallotDialog({ return ( } onClose={requestClose} closeDisabled={busy} portal @@ -127,7 +127,7 @@ export default function VotingBallotDialog({ }>
-
+ {error && {error}} setDraft({ ...draft, title: event.target.value })} /> diff --git a/webui/src/features/voting/VotingPage.tsx b/webui/src/features/voting/VotingPage.tsx index c72bd56..f9f40d4 100644 --- a/webui/src/features/voting/VotingPage.tsx +++ b/webui/src/features/voting/VotingPage.tsx @@ -158,7 +158,9 @@ export default function VotingPage({ settings, auth }: PlatformRouteContext) { refreshable reloadAction={{ onReload: () => void loadList().catch((reason) => setError(message(reason, "Ballots could not be loaded."))), loading: loading || busy, label: "Refresh ballots" }} createAction={} - helpAction={} + title="Ballots" + titleLevel={1} + titleHelp={} /> = { + "Ballots": "Abstimmungen", "i18n:govoplan-voting.voting": "Abstimmungen", "i18n:govoplan-voting.loading_reason": "Abstimmungsdaten werden noch geladen.", "i18n:govoplan-voting.busy_reason": "Eine andere Abstimmungsaktion läuft noch.",