Mercurial > public > sg101
diff bandmap/views.py @ 830:b9973588af28
Bandmap: use green & red markers for active/inactive.
Other tweaks to admin & added explanatory text.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 28 Sep 2014 15:23:15 -0500 |
parents | 5103edd3acc4 |
children | 0f9c014c8adc |
line wrap: on
line diff
--- a/bandmap/views.py Sun Sep 28 11:48:23 2014 -0500 +++ b/bandmap/views.py Sun Sep 28 15:23:15 2014 -0500 @@ -71,6 +71,7 @@ 'url': band.url, 'lat': band.lat, 'lon': band.lon, + 'is_active': band.is_active, 'note': render_to_string('bandmap/balloon.html', {'band': band}), }) results = json.dumps(bands)