Compare commits
2 commits
e400360697
...
12a2b739e8
Author | SHA1 | Date | |
---|---|---|---|
Edward Betts | 12a2b739e8 | ||
Edward Betts | 31cd7e8b97 |
|
@ -125,6 +125,7 @@ def summarize_launch(launch: Launch) -> Summary:
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"name": launch.get("name"),
|
"name": launch.get("name"),
|
||||||
|
"slug": launch["slug"],
|
||||||
"status": launch.get("status"),
|
"status": launch.get("status"),
|
||||||
"net": launch.get("net"),
|
"net": launch.get("net"),
|
||||||
"net_precision": net_precision,
|
"net_precision": net_precision,
|
||||||
|
|
|
@ -7,8 +7,9 @@
|
||||||
<h1>Space launches</h1>
|
<h1>Space launches</h1>
|
||||||
|
|
||||||
{% for launch in rockets %}
|
{% for launch in rockets %}
|
||||||
|
{% set highlight =" bg-primary-subtle" if launch.slug in config.FOLLOW_LAUNCHES else "" %}
|
||||||
{% set country = get_country(launch.country_code) %}
|
{% set country = get_country(launch.country_code) %}
|
||||||
<div class="row">
|
<div class="row{{highlight}}">
|
||||||
<div class="col-md-1 text-nowrap text-md-end">{{ launch.t0_date }}
|
<div class="col-md-1 text-nowrap text-md-end">{{ launch.t0_date }}
|
||||||
|
|
||||||
<br class="d-none d-md-block"/>
|
<br class="d-none d-md-block"/>
|
||||||
|
|
Loading…
Reference in a new issue