Skip to content
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

Homepage class tidy and tweaks #1834

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

dracos
Copy link
Member

@dracos dracos commented Oct 9, 2024

Don't know who should review something like this currently :) The only actual change should be displaying Welsh votes at all, moving Scottish votes underneath Scottish debates, and including Commons/Lords on UK (fixes #1832) on their homepages. The rest is just trying to tidy all these homepages to use the same homepage base class, which seemed sensible whilst I was there, they're mostly the same now (more could probably be done, combining templates and whatnot, but seemed enough for now).

@dracos dracos requested review from struan and ajparsons October 9, 2024 10:32
@ajparsons
Copy link
Contributor

I'll have a look this week - seems sensible.

Copy link
Member

@struan struan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One actual bug and one only a bug if there is no content which does not happen outside of dev environment bugs.

Otherwise it all looks to make sense.

classes/Homepage/Scotland.php Outdated Show resolved Hide resolved
classes/Homepage/Base.php Show resolved Hide resolved
@dracos dracos force-pushed the homepage-class-tidy-and-tweaks branch from 16710e4 to 63df0b0 Compare October 10, 2024 14:15
@dracos dracos requested a review from struan October 10, 2024 14:15
Copy link
Member

@struan struan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggestion: "Recent votes" on homepage should indicate in which chamber the vote occurred
3 participants