Compare commits

..

No commits in common. "197f6e5bfd2172c39adba669510db362a57bf55c" and "9f6ed9c372d373b26a3f636f7023e55bfc9e14ba" have entirely different histories.

3 changed files with 2 additions and 11 deletions

View file

@ -143,8 +143,6 @@ def summarize_launch(launch: Launch) -> Summary:
"location": launch["pad"]["location"]["name"], "location": launch["pad"]["location"]["name"],
"country_code": launch["pad"]["country_code"], "country_code": launch["pad"]["country_code"],
"orbit": get_nested(launch, ["mission", "orbit"]), "orbit": get_nested(launch, ["mission", "orbit"]),
"probability": launch["probability"],
"weather_concerns": launch["weather_concerns"],
} }

View file

@ -1,8 +1,8 @@
#!/usr/bin/python3 #!/usr/bin/python3
from flipflop import WSGIServer from flipflop import WSGIServer
import sys import sys
sys.path.append('/home/edward/src/agenda') # isort:skip sys.path.append('/home/edward/src/2021/agenda')
from web_view import app # isort:skip from web_view import app
if __name__ == '__main__': if __name__ == '__main__':
WSGIServer(app).run() WSGIServer(app).run()

View file

@ -68,7 +68,6 @@
<div class="col-md-1 text-md-nowrap"> <div class="col-md-1 text-md-nowrap">
<span class="d-md-none">launch status:</span> <span class="d-md-none">launch status:</span>
<abbr title="{{ launch.status.name }}">{{ launch.status.abbrev }}</abbr> <abbr title="{{ launch.status.name }}">{{ launch.status.abbrev }}</abbr>
{% if launch.probability %}{{ launch.probability }}%{% endif %}
</div> </div>
<div class="col"> <div class="col">
<div> <div>
@ -115,12 +114,6 @@
{% else %} {% else %}
<p>No description.</p> <p>No description.</p>
{% endif %} {% endif %}
{% if launch.weather_concerns %}
<h4>Weather concerns</h4>
{% for line in launch.weather_concerns.splitlines() %}
<p>{{ line }}</p>
{% endfor %}
{% endif %}
</div> </div>
</div> </div>
</div> </div>