Make view dependent on phase status
Add placeholder to insert script elements in templates derived from this base