Added Header and footer only when event details are available
Resolved Merge Conflicts
Resolved Conflicts