templates: insert inactive timestamp