ref #8146 move term type to top in details view