templates: Converted flight details templates to Jinja2