mysociety / planningalerts-app

Find out and have your say about what's being built and knocked down in your area.
www.planningalerts.org.au
Other
0 stars 1 forks source link

Use the stats partial for both the authority and search results #169

Closed lizconlan closed 10 years ago

lizconlan commented 10 years ago

I've had a play at making a unified sidebar partial and while it's possible, I'm not sure it's actually better to have 1 complicated partial rather than 2 relatively simple one (open to other ideas though).

For now, I've broken the authority sidebar code out into its own partial and made the 2 sidebar partials' structure more similar.

The stats partial has been moved to shared/_stats.html.haml and is now shared between the 2.

(There may be scope to squash some commits here once this branch is finalised)

Closes #145

stevenday commented 10 years ago

Apart from dealing with potentially missing authority objects, :+1:

lizconlan commented 10 years ago

Now includes using the correct class for the "refused" part of the bar graph. Closes #170