{% extends "base.html" %} {% block content %}

Space launches

{% for launch in rockets %} {% set country = get_country(launch.country_code) %}
{{ launch.t0_date }}
{% if launch.t0_time %} {{ launch.t0_time }}{% endif %} {{ launch.net_precision }}
launch status: {{ launch.status.abbrev }}
{{ country.flag }} {{ launch.rocket }} – {{launch.mission.name }} – {% if launch.launch_provider_abbrev %} {{ launch.launch_provider_abbrev }} {% else %} {{ launch.launch_provider }} {% endif %} ({{ launch.launch_provider_type }}) — {{ launch.orbit.name }} ({{ launch.orbit.abbrev }}) — {{ launch.mission.type }}
{% if launch.pad_wikipedia_url %} {{ launch.pad_name }} {% else %} {{ launch.pad_name }} {% if launch.pad_name != "Unknown Pad" %}(no Wikipedia article){% endif %} {% endif %} — {{ launch.location }}
{% if launch.mission.agencies | count %}
agencies: {% for agency in launch.mission.agencies %} {%- if not loop.first %}, {% endif %} {{agency.name }} {{ get_country(agency.country_code).flag }} ({{ agency.type }}) {# #} {% endfor %}
{% endif %}
{% if launch.mission %} {% for line in launch.mission.description.splitlines() %}

{{ line }}

{% endfor %} {% else %}

No description.

{% endif %}
{% endfor %}
{% endblock %}