Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle all possible states of the connected openHAB installation in i…
…ndex.ejs (openhab#33) Currently, the index page assumes, that the openHAB version is online, without rechecking this. With this commit, the openhab-cloud now checks, if there even is a connected openHAB installation with the current account (app.js says, that it can be undefined). If there's no installation, an appropriate message with a link to the account page is printed. If the installation is online, the already known messages are printed according to the openHAB version. Otherwise (if the installation is offline) an appropriate error message is printed. Fixes openhab#28 Signed-off-by: Florian Schmidt <[email protected]>
- Loading branch information