Refactor simple index details view