Poll bundle - item page

Description

Background

The poll module needs a page to publish the poll and the results.

Requirements

  • Add a controller for the poll and register it as service for content type pages

  • Add views for the default theme

  • The block will show the poll, but only when published

  • Options will be shown with radio buttons

  • Click on the radio button will submit the poll and display the result page

  • The result page will show the percentage + count for each option

  • Options will be ordered by order of the collection items

  • Total votes will be mentioned after submitting vote

  • After save a cookie for this poll is placed on the click

  • When saving the IP is logged

  • When the block is shown with the cookie set the results view is shown and it is impossible to add a new vote

  • When your IP is logged 5 times for this poll (hardcoded count) it is impossible to add a new vote

  • Register the document to support the related content block

Poll view

Results view

Technical tasks

None

Deployment actions

None

Assignee

Unassigned

Client

Integrated Marijn

Sprint

None

Fix versions

Configure