Move buttons into details page. Standardise buttons a bit. Only show version button if versions exist.