Show more detail on space launch page
This commit is contained in:
parent
e475f98dd6
commit
e16e04ab51
3 changed files with 41 additions and 11 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue