mysociety / SeePoliticiansTweet

0 stars 0 forks source link

Clear message when area has no tweets #77

Closed zarino closed 8 years ago

zarino commented 8 years ago

screen shot 2015-10-05 at 15 44 14

Fixes #23.

The huge chunk of Liquid boilerplate at the top of area.html is the best way of incrementing two variables in Liquid, without losing the ability to go var == 0 for the initial case (which using the built-in {% increment %} tag doesn't get you).

Also fixes #25 by hiding the person section headings until there’s actually a list of people below them.

chrismytton commented 8 years ago

Nice, thanks! :+1: