Refactoring parts of the detail views for re-use
ignoring .jdbrc for debugging