Added code to supress modalities that have no data. This fixes issue #20. Whether to display each modality or not is stored in the user profile. In the future the option to display values or not could be the choice of the user.
Hi @Ed McDonagh . Glad you like it. It looked like a simple thing to implement now that there is a user profile, and just for a change it was!
You're right that at the moment if there is no data then the user interface will be pretty empty. I'll add some text that will appear on the home page if all four modalities are empty. I'll also take a look at the documentation and add something in there too.
Display of modalities on home page now controlled by whether homedata contains any items of the corresponding modality. This bypasses the display settings stored in userprofile for the home page, but does mean that the home page works properly when no user is logged in. The filtered and detail modality pages still use the display settings stored in the userprofile to determine whether to show a particular modality. This fixes issue #195 and references issue #20.