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

"Can I vote" tab admin vissibility #9124

Closed
andreslucena opened this issue Apr 1, 2022 · 0 comments · Fixed by #9191
Closed

"Can I vote" tab admin vissibility #9124

andreslucena opened this issue Apr 1, 2022 · 0 comments · Fixed by #9191
Labels
contract: e-voting Barcelona City Council contract module: elections type: bug Issues that describe a bug

Comments

@andreslucena
Copy link
Member

Ref. V-SIM.01

Describe the bug

The 'Can I vote' tab does not appear as a component in the Administration Panel, so it is always visible and cannot be hidden. It would need to be hidden at certain moments (e.g. when the page is already public but the census has not yet been loaded).

To Reproduce

Steps to reproduce the behavior:

  1. Configure a voting that already has happened
  2. Go to frontend
  3. See that you still can check if you're in the census with "Can I vote?" even though it doesn't make sense anymore.

Expected behavior

To not see the can I vote tab after the voting has happened.

This should be done with a setting in the "Votings page"

Screenshots

Extra data (please complete the following information):

  • Decidim Version: 0.27.0.dev

Additional context

Other solution could be to check "Votings end" field, but this could introduce problems in cases where the voting ends and the elections end doesn't match or the normative has particularities.

@andreslucena andreslucena added type: bug Issues that describe a bug contract: e-voting Barcelona City Council contract module: elections labels Apr 1, 2022
@andreslucena andreslucena linked a pull request May 2, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contract: e-voting Barcelona City Council contract module: elections type: bug Issues that describe a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant