In html if data unavailable use blank (or similar)

Requests for future functionality

Moderator: Mattk

Post Reply
skyewright
Platinum Boarder
Platinum Boarder
Posts: 873
Joined: Fri Jan 25, 2008 6:27 pm
Location: Isle of Skye, Scotland

In html if data unavailable use blank (or similar)

Post by skyewright »

Using v2.1

Experimenting with html templates I've found that if a particular value doesn't exist[1] at the moment when the page is requested the full variable name gets shown, which throws out formatting.

Might it be better if when the variable is valid but cannot be resolved to data it is replaced with either blank, or a dash (which is what the console would show) or N/A or some such, instead of the full variable name?

[1] e.g. [last60m_thb0_press_hpa], which at this moment isn't there because the sensor hasn't been picked up for over an hour.
mvpel
Senior Boarder
Senior Boarder
Posts: 42
Joined: Fri Mar 14, 2008 1:38 pm
Location: Merrimack, NH, US

Re:In html if data unavailable use blank (or simil

Post by mvpel »

On a similar note, it'd be nice if a reference to a non-existent graph would show a message to that effect rather than a blank page.

(2.0d with Firefox 2.0.12)
Post Reply