ajusting sub-template handling for licensing, adding in field to provide partner templates and display their sub-templates