From 8a40c5953fcd4018969fe3b836fadee22b3f23fd Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 21 Jun 2024 02:46:54 +0200 Subject: [PATCH] Add link to OsmCha in about --- langs/en.json | 1 + src/UI/AllThemesGui.svelte | 24 ++++++++++++++++-------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/langs/en.json b/langs/en.json index 14be62b56..67d68335a 100644 --- a/langs/en.json +++ b/langs/en.json @@ -200,6 +200,7 @@ "openIssueTracker": "File a bug", "openMapillary": "Open Mapillary here", "openOsmcha": "See latest edits made with {theme}", + "openOsmchaLastWeek": "See edits from the last 7 days", "openThemeDocumentation": "Open the documentation for thematic map {name}", "seeOnMapillary": "See this image on Mapillary", "themeBy": "Theme maintained by {author}", diff --git a/src/UI/AllThemesGui.svelte b/src/UI/AllThemesGui.svelte index 5ef42ad7e..40df2d21d 100644 --- a/src/UI/AllThemesGui.svelte +++ b/src/UI/AllThemesGui.svelte @@ -25,6 +25,8 @@ import Liberapay from "../assets/svg/Liberapay.svelte" import Bug from "../assets/svg/Bug.svelte" import Github from "../assets/svg/Github.svelte" + import { Utils } from "../Utils" + import { ArrowTrendingUp } from "@babeard/svelte-heroicons/solid/ArrowTrendingUp" const featureSwitches = new OsmConnectionFeatureSwitches() const osmConnection = new OsmConnection({ @@ -146,6 +148,15 @@ + + + + + +

@@ -161,6 +172,11 @@ + + + + + @@ -171,14 +187,6 @@ - - - - -