Sometimes there is no launch pad wikipedia URL
This commit is contained in:
parent
5d5b9016d1
commit
9185052092
|
@ -193,7 +193,11 @@
|
||||||
—
|
—
|
||||||
{{ launch.orbit.name }} ({{ launch.orbit.abbrev }})
|
{{ launch.orbit.name }} ({{ launch.orbit.abbrev }})
|
||||||
<br/>
|
<br/>
|
||||||
|
{% if launch.pad_wikipedia_url %}
|
||||||
<a href="{{ launch.pad_wikipedia_url }}">{{ launch.pad_name }}</a>
|
<a href="{{ launch.pad_wikipedia_url }}">{{ launch.pad_name }}</a>
|
||||||
|
{% else %}
|
||||||
|
{{ launch.pad_name }} {% if launch.pad_name != "Unknown Pad" %}(no Wikipedia article){% endif %}
|
||||||
|
{% endif %}
|
||||||
— {{ launch.location }}<br/>
|
— {{ launch.location }}<br/>
|
||||||
|
|
||||||
{% for line in launch.mission.description.splitlines() %}
|
{% for line in launch.mission.description.splitlines() %}
|
||||||
|
|
Loading…
Reference in a new issue