Show more space launch details.

This commit is contained in:
Edward Betts 2023-10-03 14:16:25 +01:00
parent 6ed9e520ed
commit 10bc7d85b5
2 changed files with 27 additions and 10 deletions

View file

@ -78,26 +78,40 @@
<p>{{ market }}</p>
{% endfor %}
<h3>Rocket launches</h3>
<h3>Space launches</h3>
<table class="table table-hover">
{% for launch in rockets %}
<tr>
<td class="text-nowrap text-end">{{ launch.t0_date }}
{% if launch.t0_time %}<br/>{{ launch.t0_time }}{% endif %}</td>
<td class="text-nowrap">{{ launch.status }}</td>
<td>{{ launch.rocket }}<br>{{launch.mission }}</td>
<td>
<td class="text-nowrap"><abbr title="{{ launch.status.name }}">{{ launch.status.abbrev }}</abbr></td>
<td>{{ launch.rocket }}
&mdash;
{{launch.mission.name }}
&mdash;
{% if launch.launch_provider_abbrev %}
<abbr title="{{ launch.launch_provider }}">{{ launch.launch_provider_abbrev }}</abbr>
{% else %}
{{ launch.launch_provider }}
{% endif %}
({{ launch.launch_provider_type }})</td>
<td>{{ launch.location }}</td>
({{ launch.launch_provider_type }})
&mdash;
{{ launch.orbit.name }} ({{ launch.orbit.abbrev }})
<br/>
<a href="{{ launch.pad_wikipedia_url }}">{{ launch.pad_name }}</a>
&mdash; {{ launch.location }}<br/>
{% for line in launch.mission.description.splitlines() %}
<p>{{ line }}</p>
{% endfor %}
</td>
</tr>
{% endfor %}
</div>
</table>
</div>
</body>
</html>