Show more detail on space launch page

This commit is contained in:
Edward Betts 2024-01-19 20:35:52 +00:00
parent e475f98dd6
commit e16e04ab51
3 changed files with 41 additions and 11 deletions

View file

@ -74,7 +74,9 @@ async def launch_list() -> str:
rocket_dir = os.path.join(data_dir, "thespacedevs")
rockets = await agenda.thespacedevs.get_launches(rocket_dir, limit=100)
return flask.render_template("launches.html", rockets=rockets, now=now)
return flask.render_template(
"launches.html", rockets=rockets, now=now, get_country=agenda.get_country
)
@app.route("/gaps")