Skip to content

Commit

Permalink
Switch to using h2 for rejection title
Browse files Browse the repository at this point in the history
  • Loading branch information
Elleo committed Apr 16, 2020
1 parent f69658c commit 3ee95c7
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generate_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

for petition in petitions:
petition = petition.replace("<|startofpetition|>", "") # Sometimes this gets duplicated
petition = petition.replace("Reason for rejection:", "<strong>Why was this petition rejected?</strong>")
petition = petition.replace("Reason for rejection:", "<h2>Why was this petition rejected?</h2>")
lines = petition.split("\n")
if lines[0].strip() == "":
start = 1
Expand Down
44 changes: 42 additions & 2 deletions pregenerated.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"title": "Suspend HS2/Travelling along Line 4",
"body": "<br />The Government is going to backtrack and suspend HS2/Travelling along the rail line.<br /><br /><br /><strong>Why was this petition rejected?</strong><br /><br />We can't accept your petition because the UK Government and Parliament aren't responsible for the issue you raise.<br /><br />You could raise your issue with a local councillor, who represents you. You can use this page to find out who your local councillors are, and how to contact them:<br /><br />https://www.gov.uk/find-your-local-councillors<br /><br />You can find out who your local councillors are on the local Government website:<br />https://www.gov.uk/find-your-local-councillors<br /><br />If you're concerned about a local council's planning application, you could raise your issue with a local councillor. You can use this page to find out who your local councillors are, and how to contact them:<br /><br />https://www.gov.uk/find-your-local-councillors<br /><br />If you want the Highways Agency to review your situation further, you could start a petition calling for that.<br />"
"body": "<br />The Government is going to backtrack and suspend HS2/Travelling along the rail line.<br /><br /><br /><h2>Why was this petition rejected?</h2><br /><br />We can't accept your petition because the UK Government and Parliament aren't responsible for the issue you raise.<br /><br />You could raise your issue with a local councillor, who represents you. You can use this page to find out who your local councillors are, and how to contact them:<br /><br />https://www.gov.uk/find-your-local-councillors<br /><br />You can find out who your local councillors are on the local Government website:<br />https://www.gov.uk/find-your-local-councillors<br /><br />If you're concerned about a local council's planning application, you could raise your issue with a local councillor. You can use this page to find out who your local councillors are, and how to contact them:<br /><br />https://www.gov.uk/find-your-local-councillors<br /><br />If you want the Highways Agency to review your situation further, you could start a petition calling for that.<br />"
},
{
"title": "Strengthen the housing benefit system, to make it more accessible and accountable to the public.",
Expand Down Expand Up @@ -38,5 +38,45 @@
{
"title": "Review the way the law is being broken in Scotland.",
"body": "<br />The law in Scotland has been broken in the same way that the U.K. has. Scotland is being abused by third parties.<br /><br />They are campaigning for a constitutional vote and have only a minority in favour of a Yes vote. Why is this happening? Why are people being treated like second class citizens.<br /><br />There has been a huge amount of abuse of the law in Scotland, the law is being used to silence and silence the voices of the majority and the majority is being ignored.<br /><br />This is not an open petition but a matter for the Scottish Parliament which has a duty to respect the law as it stands. We can get a majority of MPs to respect the laws in Scotland and have a say in the UK.<br />"
},
{
"title": "Stop the MOVE",
"body": "<br />The MOVE is a radical change to the way in which the NHS works. It will change how the public can treat people who suffer from a life threatening illness such as cancer, Hepatitis C and CFS.<br /><br />The surgery/tech that will be required to take place is not in line with the needs of people who are on a heavy illness.<br /><br />The MOVE will also reduce the cost of care and the chance of a carer returning to work.<br /><br />The MOVE will also bring together the NHS, the private sector and the private sector to form a more efficient and more efficient NHS.<br /><br />We can't afford to save money on a surgery, we can't afford to be a carer and we can't afford this to be us.<br /><br />The MOVE will also help save the NHS money in the long run.<br />"
},
{
"title": "No new deal or a second referendum until a new deal is agreed.",
"body": "<br />After the recent referendum, we should generally have a new deal or a second referendum.<br /><br />We should be given a vote the second time around, with a clear majority due to the lack of a deal.<br /><br />This was a vote on the future of the EU, not a referendum on our wishes.<br />"
},
{
"title": "Ban the sale of school uniforms for children under 16",
"body": "<br />We the undersigned urge the Government to take action and ban the sale of school uniforms for children under 16.<br /><br />This will be necessary for the safety of children, children's education and the health of the world.<br /><br />Children are not allowed to wear school uniforms, which is not satisfying for a child.<br /><br />Children are not allowed to wear school uniforms which is an affront to our children, children's safety and our children's education.<br /><br />Children are not allowed to wear school uniforms which is an affront to our children, children's safety and our children's education.<br /><br />Children are not allowed to wear school uniforms which is an affront to our children, children's safety and our children's education.<br /><br />Children are not allowed to wear school uniforms which is an affront to our children, children's safety and our children's education.<br /><br /><br /><h2>Why was this petition rejected?</h2><br /><br />The above petition is similar to yours:<br />https://petition.parliament.uk/petitions/112860<br /><br />You might like to sign this petition instead. It is more likely to get more signatures that way.<br /><br /><br />"
},
{
"title": "Make all bank holiday payments stopped",
"body": "<br />A holiday payment of \u00a31,600,000 to a bank holiday or 500,000 pounds, is too small a sum to be spent on fixing the whole of the bank holiday system. This would cut on interest payments and the cost of the bank holiday, so the bank should be able to keep it on a reasonable schedule.<br />"
},
{
"title": "Cancel all UK/EU trade with other countries.",
"body": "<br />The UK/EU trade relationship is not part of the normal course of British history, and is therefore not practical for any future UK/EU trade arrangements.<br /><br />The UK/EU trade relationship is not part of the normal course of British history, and is therefore not practical for any future UK/EU trade arrangements.<br /><br />"
},
{
"title": "Dispose of the human rights of all British Citizens in the UK",
"body": "<br />The UK should have the right to call a general election and hold a referendum. It is therefore necessary to call a general election on the British citizen being ''disputed'' in this country.<br /><br />"
},
{
"title": "Cancel the VAT and duty on petrol and diesel products",
"body": "<br />Stop the introduction of VAT on petrol and diesel products and start the process of eliminating the VAT and duty on these products.<br /><br />"
},
{
"title": "Make the BBC a public service",
"body": "<br />We, the undersigned, believe that the BBC should be a public service. We believe that the BBC should be an institution of higher value to the nation than a private business. We believe that the BBC should be a public service. We believe that the BBC must be a public service.<br />"
},
{
"title": "BELOW ZONE FOR DOORS AND LECTRE ABILITY",
"body": "<br />In the Town of Dunbar, the village of Zypa is being redeveloped. This area is home to several large businesses, including a brewery, a restaurant and a shoe store. It also houses a ncmp factory, a tourist attraction and an arts center. The village is also a childcare centre, a resitalist centre, a school, a leisure centre and a stadium.<br /><br />The village is the centre of a UK Industry.<br /><br />The town is renowned for its great arts centre.<br /><br />Zypa is the best area in the UK for recreational activities.<br /><br />It is the closest to the line for running water and to shopping.<br /><br />The town has a good mix of shops, cafes and restaurants.<br /><br />This unique area has few it depends on the weather.<br /><br />The town has a beautiful historic centre which is a popular shopping, recreational and leisure center.<br /><br />The village is also known for its cool air.<br /><br />Zypa's standing as a British Town is to the British Commonwealth a matter of pride.<br /><br /><br /><h2>Why was this petition rejected?</h2><br /><br />We can't accept your petition because the UK Government and Parliament aren't responsible for the issue you raise. The Government and Parliament are responsible for the local planning and development process.<br /><br /><br />"
},
{
"title": "Make it a law to make the term 'intervener' a legal requirement for ALL companies to report any poor performance or other 'inappropriate behaviour' to the police.",
"body": "<br />The law should be made to make it a legal requirement in all companies to report failures to the police.<br /><br />"
}
]
]
6 changes: 6 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,9 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
width: 48px;
height: 48px;
}

h2 {
font-weight: 700;
font-size: 24px;
margin-bottom: -1em;
}

0 comments on commit 3ee95c7

Please sign in to comment.