Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable email buttons when not supported #386

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

mikefranze
Copy link
Collaborator

Description

Hides the "add voters" button when voter access is not open.
Hides the send invites button when email invites not enabled.
Hides email invite status when email invite not enabled.
Sets default values for add voter check boxes based on election. Should probably remove checkboxes in the future and just tell user what data is expected.

Screenshots / Videos (frontend only)

With email invites enabled
image
image

With email invites disabled
image
image

Related Issues

closes #310

Copy link
Member

@ArendPeter ArendPeter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@mikefranze mikefranze merged commit 3262a9d into Equal-Vote:main Nov 21, 2023
3 checks passed
@mikefranze mikefranze deleted the disable-email-buttons branch December 9, 2023 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Send email" button is still available even if election doesn't support it
2 participants