Show an estimated season as an estimate on the trail page, in lists and tables, and in the month filter; say how seasons are sourced and tested on the reference page

This commit is contained in:
swaits committed 2026-11-20 13:26:51 -07:00
1 parent 713fff78df
commit e95131833b
20 files changed
+481 -103

No files matched your search

+3 -1
View File
@@ -148,7 +148,9 @@ def detail(rec):
out.append(f"Its high point is {esc(name + ', ') if name else ''}{words.elevation(m)}.")
season = facets.season_text(rec)
if season:
out.append(f"Season: {esc(season)}.")
how = (", judged from pages that differ" if facets.season_pages_differ(rec)
else ", estimated from climate" if facets.season_estimated(rec) else "")
out.append(f"Season: {esc(season)}{how}.")
rest = _rest_of_summary(rec)
if rest:
out.append(f'<span class="record-text">{esc(rest)}</span>')