mysociety / fixmystreet

This is mySociety's popular map-based reporting platform: easy to install in new countries and regions
http://fixmystreet.org/
Other
508 stars 235 forks source link

[TfL] Add admin heads for changing red route categories. #4990

Closed neprune closed 3 months ago

neprune commented 4 months ago

[skip changelog]

Placed at top of category list, above add category form and in category edit form.

tfl red route heads up

Could maybe restrict to showing in category edit form for ones that are already red route (something like body.cobrand._tlrn_categories.grep(contact.category).size) but thought it better to just include for all.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.67%. Comparing base (818a840) to head (19d9a26). Report is 3 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4990 +/- ## ========================================== + Coverage 82.60% 82.67% +0.07% ========================================== Files 393 393 Lines 30752 30930 +178 Branches 4877 4939 +62 ========================================== + Hits 25403 25572 +169 - Misses 3897 3899 +2 - Partials 1452 1459 +7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.