Safecast / safecastapi

The app that powers api.safecast.org
44 stars 25 forks source link

wrong rendering on "null" values #143

Closed thinrope closed 9 years ago

thinrope commented 11 years ago

Example: https://api.safecast.org/en-US/measurements/26027811 JSON is fine: { "captured_at": null, "device_id": 35, "id": 26027811, "location_name": null, "original_id": 26027811, "unit": "cpm", "user_id": 6, "value": 18, "latitude": 35, "longitude": 135 }

However the HTML rendering is offset/borked:

scr

robouden commented 11 years ago

Kalin and Allan,

Maybe also location name should be provided or is that an option.

regards rob

Regards, Rob Oudendijk Yuka Hayashi http://yr-design.biz http://oudendijk.biz http://about.me/robouden tel +81 80-22605966 Skype: robouden Facebook:roboudenhttp://on.fb.me/QeKw2P twitter:robouden http://bit.ly/RAiSTC

On Mon, Oct 7, 2013 at 11:06 PM, Kalin KOZHUHAROV notifications@github.comwrote:

Example: https://api.safecast.org/en-US/measurements/26027811 JSON is fine: { "captured_at": null, "device_id": 35, "id": 26027811, "location_name": null, "original_id": 26027811, "unit": "cpm", "user_id": 6, "value": 18, "latitude": 35, "longitude": 135 }

However the HTML rendering is offset/borked:

[image: scr]https://f.cloud.github.com/assets/754020/1280844/74d16a46-2f59-11e3-974e-4450ac01d604.png

— Reply to this email directly or view it on GitHubhttps://github.com/Safecast/safecastapi/issues/143 .

matschaffer commented 9 years ago

Fixed by #169