#17: add template_type attribute to dimgem view