diff --git a/agenda/thespacedevs.py b/agenda/thespacedevs.py index 01a27e5..15ad455 100644 --- a/agenda/thespacedevs.py +++ b/agenda/thespacedevs.py @@ -125,6 +125,7 @@ def summarize_launch(launch: Launch) -> Summary: return { "name": launch.get("name"), + "slug": launch["slug"], "status": launch.get("status"), "net": launch.get("net"), "net_precision": net_precision, diff --git a/templates/launches.html b/templates/launches.html index 4666a8a..a8baede 100644 --- a/templates/launches.html +++ b/templates/launches.html @@ -7,8 +7,9 @@

Space launches

{% for launch in rockets %} + {% set highlight =" bg-primary-subtle" if launch.slug in config.FOLLOW_LAUNCHES else "" %} {% set country = get_country(launch.country_code) %} -
+
{{ launch.t0_date }}