- changed component to Interface
Suppress modalities not in use
For systems not collecting any of the three modalities currently listed in the OpenREM interface it would be good to suppress them so the didn't appear.
Comments (11)
-
reporter -
- changed status to resolved
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.→ <<cset 3674dfc28ac7>>
-
reporter - changed milestone to 0.6.0
-
reporter Cool! Thanks David!
When you create a new install, are you left with a blank interface?
If so, we ought to add some text to the homepage to indicate why, and document it too so people don't assume it's broken :)
-
reporter -
assigned issue to
-
assigned issue to
-
Hi @edmcdonagh . 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.
-
Correcting a duplicate displayDX in views.py. References issue
#20.→ <<cset d8d3cea3fc1a>>
-
Added a section to home.html to show the user a brief message if there are no studies of any kind in the database. References issue
#20.→ <<cset 02013207f9e2>>
-
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
#195and references issue#20.→ <<cset 1dd24d1f34b5>>
-
Updated ctdetail so that supression of modalities works for the top menu bar. References issue 20.
→ <<cset 00e3808f93a8>>
-
Updated ctdetail so that supression of modalities works for the top menu bar. References issue 20.
→ <<cset 00e3808f93a8>>
- Log in to comment