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
Add Voting Ballot Styles #7779
Merged
Merged
Add Voting Ballot Styles #7779
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
decidim-elections/app/views/decidim/votings/admin/ballot_styles/_form.html.erb
Outdated
Show resolved
Hide resolved
decidim-elections/app/assets/stylesheets/decidim/votings/admin/votings.scss
Outdated
Show resolved
Hide resolved
decidim-elections/app/assets/stylesheets/decidim/votings/admin/votings/_ballot-styles.scss
Outdated
Show resolved
Hide resolved
decidim-elections/app/assets/stylesheets/decidim/votings/admin/votings/_ballot-styles.scss
Outdated
Show resolved
Hide resolved
decidim-elections/app/assets/stylesheets/decidim/votings/admin/votings/_ballot-styles.scss
Outdated
Show resolved
Hide resolved
decidim-elections/app/assets/stylesheets/decidim/votings/admin/votings/_ballot-styles.scss
Outdated
Show resolved
Hide resolved
leio10
added
contract: e-voting
Barcelona City Council contract
module: elections
labels
Apr 2, 2021
orlera
force-pushed
the
feat/voting_ballot_styles
branch
from
April 2, 2021 10:07
8f0708b
to
3d2eb58
Compare
orlera
force-pushed
the
feat/voting_ballot_styles
branch
from
April 2, 2021 10:29
3d2eb58
to
9ed84e3
Compare
beagleknight
previously approved these changes
Apr 2, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice ✨
decidim-elections/app/commands/decidim/votings/admin/update_ballot_style.rb
Outdated
Show resolved
Hide resolved
decidim-elections/app/commands/decidim/votings/admin/update_ballot_style.rb
Outdated
Show resolved
Hide resolved
leio10
previously approved these changes
Apr 2, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! I like the admin list for the ballot styles, let see how it works in real votings. 😺 💎
decidim-elections/app/forms/decidim/votings/admin/ballot_style_form.rb
Outdated
Show resolved
Hide resolved
decidim-elections/app/forms/decidim/votings/admin/ballot_style_form.rb
Outdated
Show resolved
Hide resolved
decidim-elections/db/migrate/20210330123606_add_voting_ballot_style.rb
Outdated
Show resolved
Hide resolved
oriolgual
dismissed stale reviews from leio10 and beagleknight
April 3, 2021 09:29
The base branch was changed.
orlera
force-pushed
the
feat/voting_ballot_styles
branch
from
April 6, 2021 10:02
150b924
to
193b53a
Compare
orlera
force-pushed
the
feat/voting_ballot_styles
branch
from
April 6, 2021 10:51
92f64a2
to
a7b5d9a
Compare
orlera
force-pushed
the
feat/voting_ballot_styles
branch
from
April 6, 2021 12:31
a7b5d9a
to
6d5deff
Compare
mrcasals
approved these changes
Apr 6, 2021
entantoencuanto
added a commit
that referenced
this pull request
Apr 6, 2021
* develop: Census access codes exportation flow (#7756) Show attachment menu as active only when subitem is active (#7774) Add Voting Ballot Styles (#7779) Fix map accessibility issue - Map bottom position missing label (#7763) Update README.adoc (#7687) Fix single initiative type (#7667) Enable Proposals Cell to take into account machine translations (#7629) Change order by weight in subassemblies (#7620) Add categories parent filter to API (#7609) Mockup design for Remaining time in voting (#7597) Upgrade to Rails 5.2.5 (#7762) Generate votings access codes (#7704)
entantoencuanto
pushed a commit
that referenced
this pull request
Apr 7, 2021
entantoencuanto
added a commit
that referenced
this pull request
Apr 7, 2021
* develop: Revert "Fix single initiative type" (#7800) Census access codes exportation flow (#7756) Show attachment menu as active only when subitem is active (#7774) Add Voting Ballot Styles (#7779) Fix map accessibility issue - Map bottom position missing label (#7763) Update README.adoc (#7687) Fix single initiative type (#7667) Enable Proposals Cell to take into account machine translations (#7629) Change order by weight in subassemblies (#7620) Add categories parent filter to API (#7609) Mockup design for Remaining time in voting (#7597) Upgrade to Rails 5.2.5 (#7762) Generate votings access codes (#7704)
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: feature
PRs or issues that implement a new feature
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎩 What? Why?
Adds the Ballot Style models and implements its CRUD operations from the admin panel.
Votings::BallotStyle
model has a many-to-many relationship withElections::Question
throughVotings::BallotStyleQuestion
.The design is a bit rough - can be iterated in upcoming PRs on this same topic if necessary.
📌 Related Issues
📋 Checklist
🚨 Please review the guidelines for contributing to this repository.
docs/
.📷 Screenshots
ballot.style.mov