Skip to content

Commit

Permalink
Add link to feedback survey to division page
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Mar 14, 2024
1 parent 7917cd6 commit 49ba909
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions www/includes/easyparliament/templates/html/mp/divisions.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,16 @@
</h3>

<?php $pw_url = 'https://www.publicwhip.org.uk/mp.php?mpid=' . $member_id . '&amp;dmp=' . $policy['policy_id']; ?>

<p>
TheyWorkForYou has automatically calculated this MP&rsquo;s stance based on all
of their votes on the topic. <a href="<?= $pw_url ?>">You can browse the source
data on PublicWhip.org.uk</a>.
To suggest amendments or new votes for inclusion, please <a href="https://survey.alchemer.com/s3/7724738/TheyWorkForYou-policy-update?policy_id=<?= $policy['policy_id'] ?>">use this feedback form</a>.
</p>

<p>
TheyWorkForYou has calculated this MP&rsquo;s stance based on votes we have grouped on this topic. <a href="/voting-information/#voting-summaries">Learn more</a>.
</p>
<p><a href="<?= $pw_url ?>">You can browse the source
data on PublicWhip.org.uk</a>. We are in the process of moving away from using the PublicWhip and there may be some discrepancies between the two sites.
</p>

<?php } else { ?>
Expand Down

0 comments on commit 49ba909

Please sign in to comment.