From 7c2064acf1a01328b5e9301f675690a35b8fc537 Mon Sep 17 00:00:00 2001 From: Alex Parsons Date: Tue, 2 Apr 2024 11:56:39 +0000 Subject: [PATCH] Improve donation flows to new page --- locale/cy_GB.UTF-8/LC_MESSAGES/TheyWorkForYou.po | 4 ++-- www/docs/style/sass/parts/_donate_form.scss | 13 +++++++++++++ .../easyparliament/templates/html/footer.php | 4 ++-- .../easyparliament/templates/html/mp/votes.php | 12 +++++++++++- 4 files changed, 28 insertions(+), 5 deletions(-) diff --git a/locale/cy_GB.UTF-8/LC_MESSAGES/TheyWorkForYou.po b/locale/cy_GB.UTF-8/LC_MESSAGES/TheyWorkForYou.po index 863905a6d1..c0155db47e 100644 --- a/locale/cy_GB.UTF-8/LC_MESSAGES/TheyWorkForYou.po +++ b/locale/cy_GB.UTF-8/LC_MESSAGES/TheyWorkForYou.po @@ -1673,8 +1673,8 @@ msgstr "Cofrestrwch am y newyddion diweddaraf gan mySociety" msgid "Your data" msgstr "Eich data" -#: www/includes/easyparliament/templates/html/footer.php:44 -msgid "Your donations keep this site and others like it running" +#: www/includes/easyparliament/templates/html/footer.php:43 +msgid "This site is not publicly funded. Support our mission of making UK politics more transparent and accessible." msgstr "Mae eich rhoddion yn parhau bodolaeth y safle hwn ac eraill tebyg iddo" #: www/includes/easyparliament/templates/html/footer.php:45 diff --git a/www/docs/style/sass/parts/_donate_form.scss b/www/docs/style/sass/parts/_donate_form.scss index 3ce35f3ff1..3df4e60a4f 100644 --- a/www/docs/style/sass/parts/_donate_form.scss +++ b/www/docs/style/sass/parts/_donate_form.scss @@ -85,3 +85,16 @@ font-size: 0.75em; } } + +.inline-donation-box { + a.button { + text-decoration: none; + } +} + +@media only screen and (max-width: 600px) { + .inline-donation-box a { + display: block; + margin-bottom: 10px; /* Adjust as needed */ + } +} \ No newline at end of file diff --git a/www/includes/easyparliament/templates/html/footer.php b/www/includes/easyparliament/templates/html/footer.php index fe6d64029b..8331caf11e 100644 --- a/www/includes/easyparliament/templates/html/footer.php +++ b/www/includes/easyparliament/templates/html/footer.php @@ -41,8 +41,8 @@
diff --git a/www/includes/easyparliament/templates/html/mp/votes.php b/www/includes/easyparliament/templates/html/mp/votes.php index f4d495516d..88e0a2f29c 100644 --- a/www/includes/easyparliament/templates/html/mp/votes.php +++ b/www/includes/easyparliament/templates/html/mp/votes.php @@ -52,9 +52,19 @@

You can read more about how this works, the kinds of votes we include, how we compare MPs to parties, and why we think this is important.

+

- If you want to support and help us improve this work, please consider donating. + These summaries are created by the team at TheyWorkForYou. We are independent of Parliament and receive no public funding for this work.

+

+ If you want to support and help us improve these summaries, please consider donating. +

+
+ Donate £10 a year + Donate £25 once + Donate another amount +
+

Learn more about how we'll use your donation and other ways to help.