hg_templates: added the phase if it is not public