Manage voting landing page with content blocks#7331
Merged
Conversation
ce80cdf to
37d6fa9
Compare
Closed
10 tasks
8653cf5 to
8268bf7
Compare
7da6dd6 to
169dce1
Compare
12 tasks
leio10
previously approved these changes
Feb 15, 2021
| module Decidim | ||
| module Admin | ||
| module LandingPage | ||
| extend ActiveSupport::Concern |
169dce1 to
b9fc1a4
Compare
Contributor
Author
|
@decidim/mantainers this is ready to be reviewed, as stated in the PR's description this is the base for next PR's where public contents will be added and reviewed by product. This PR adds the Thanks 😄 |
mrcasals
approved these changes
Feb 16, 2021
This was referenced Feb 16, 2021
Closed
12 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
Implements the admin part to manage voting's landing page with content blocks.
Sets the base for #7112, more PRs for the same issue will come shortly implementing the public side, in this PR the
cells/decidim/votings/content_blocks/landing_page/*_cell.rbare just a placeholder.This PR adds the
LandingPageandLandingPageContentBlocksconcerns with shared views, in another PR I'll refactor the ParticipatoryProcessGroups LandingPage to use this concern, and probably the same concern with minor changes can be used to manage the Organization's Homepage.📌 Related Issues
Link your PR to an issue
🧪 Testing & 📷 Screenshots
Log in as an admin and go to

admin/votings, edit a voting. Click in the "Landing Page" secondary nav entry, to manage it:Drag'n'drop to activate/deactivate each block, and click in the pencil icon to edit the block (if available):

📋 Checklist
🚨 Please review the guidelines for contributing to this repository.
docs/.