Move to 'updated' and 'checked' dates, rather than 'created' 'checked & updated'

This commit is contained in:
2026-02-11 10:52:15 +00:00
parent 869a7296e8
commit b3d9eb6f33
9 changed files with 641 additions and 9 deletions

View File

@@ -2,11 +2,12 @@
export let feature: {
routeName: string;
routeId: string;
entryPoint: string;
};
</script>
<div class="link-wrapper">
<a href="/map/{feature.routeId}" class="wide-button">
<a href="/map/{feature.routeId}#{feature.entryPoint}" class="wide-button">
<div class="content">
<div class="header-row">
<span class="sub-text">Go to</span>

View File

@@ -16,6 +16,7 @@ export const components = {
crossovers: Crossover,
siteof: SiteOf,
bridge: Bridge,
minorBridge: Bridge,
crossover: Crossover,
crossing: Crossing,
loop: Loop,

View File

@@ -84,9 +84,9 @@
</div>
<div class="card-footer">
<span>Created on {formatDate(map.created)}</span>
<span>Updated: {formatDate(map.updated)}</span>
{#if map.checked}
<span>• Checked & Updated on {formatDate(map.checked)}</span>
<span>• Checked: {formatDate(map.checked)}</span>
{/if}
</div>
</a>

View File

@@ -4,7 +4,7 @@ export interface RouteMapIndex {
routeId: string | number;
routeStart: string;
routeEnd: string;
created: string;
updated: string;
checked: string;
contents: string[];
}

View File

@@ -13,6 +13,7 @@
let visibleTypes = {
station: true,
minorBridge: false,
bridge: true,
crossovers: true,
loop: true,