Skip to content

Commit

Permalink
[Scorecards] Added Biodiversity infographics
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascumsille committed Jan 9, 2025
1 parent b821e50 commit 99b86d9
Show file tree
Hide file tree
Showing 14 changed files with 36 additions and 0 deletions.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions scoring/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,42 @@ class SectionView(PrivateScorecardsAccessMixin, SearchAutocompleteMixin, DetailV
},
],
},
"s5_bio": {
"pdf": {
"src_pdf": "scoring/img/social-graphics/biodiversity/biodiversity-graphic.pdf",
"src_jpg": "scoring/img/social-graphics/biodiversity/[email protected]",
"height": 1125,
"width": 2000,
},
"zip": "scoring/img/social-graphics/biodiversity/biodiversity.zip",
"images": [
{
"src_facebook": "scoring/img/social-graphics/biodiversity/[email protected]",
"src_instagram": "scoring/img/social-graphics/biodiversity/[email protected]",
"alt": "Biodiversity - Enhancing Habitat. 80% of local authorities have reduced mowing or created wildflower habitat in their area. 49% of local authorities turn off or dim their street lighting, including 86% of county councils",
},
{
"src_facebook": "scoring/img/social-graphics/biodiversity/[email protected]",
"src_instagram": "scoring/img/social-graphics/biodiversity/[email protected]",
"alt": "Biodiversity - Enhancing Habitat. 6 out of 11 combined authorities provide significant funding for biodiversity",
},
{
"src_facebook": "scoring/img/social-graphics/biodiversity/[email protected]",
"src_instagram": "scoring/img/social-graphics/biodiversity/[email protected]",
"alt": "Biodiversity - Room for Improvement. 6% of councils have stopped using all pesticides. 5% of planning authorities have set a higher minimum standard than the 10% Biodiversity Net Gain for new developments. 17% of councils have a tree cover target and a tree management plan",
},
{
"src_facebook": "scoring/img/social-graphics/biodiversity/[email protected]",
"src_instagram": "scoring/img/social-graphics/biodiversity/[email protected]",
"alt": "Biodiversity - Mayoral Authorities. 32% of local authorities employ a planning ecologist to enforce Biodiversity Net Gain to new developments",
},
{
"src_facebook": "scoring/img/social-graphics/biodiversity/[email protected]",
"src_instagram": "scoring/img/social-graphics/biodiversity/[email protected]",
"alt": "Biodiversity - Average Scores by Council Type. 27% Single Tier. 30% County. 55% Combined Authority. 22% District. 38% Northern Ireland",
},
],
},
}

alt_map = dict((ca, non_ca) for non_ca, ca in combined_alt_map.items())
Expand Down

0 comments on commit 99b86d9

Please sign in to comment.