Cleanup and format Repository#show view of record detail