SD-503: Versioning widget

Move code from separate page to versioning widget