Move to 'updated' and 'checked' dates, rather than 'created' 'checked & updated'
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -16,6 +16,7 @@ export const components = {
|
||||
crossovers: Crossover,
|
||||
siteof: SiteOf,
|
||||
bridge: Bridge,
|
||||
minorBridge: Bridge,
|
||||
crossover: Crossover,
|
||||
crossing: Crossing,
|
||||
loop: Loop,
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -4,7 +4,7 @@ export interface RouteMapIndex {
|
||||
routeId: string | number;
|
||||
routeStart: string;
|
||||
routeEnd: string;
|
||||
created: string;
|
||||
updated: string;
|
||||
checked: string;
|
||||
contents: string[];
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
let visibleTypes = {
|
||||
station: true,
|
||||
minorBridge: false,
|
||||
bridge: true,
|
||||
crossovers: true,
|
||||
loop: true,
|
||||
|
||||
Reference in New Issue
Block a user