From febc4da6ecf887c5de6813369bfba272531f5297 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sun, 29 Jan 2023 13:47:31 +0100 Subject: [PATCH] Include link to theme from documentation --- Customizations/AllKnownLayouts.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Customizations/AllKnownLayouts.ts b/Customizations/AllKnownLayouts.ts index 062eccc42..7a7ec06f0 100644 --- a/Customizations/AllKnownLayouts.ts +++ b/Customizations/AllKnownLayouts.ts @@ -215,7 +215,15 @@ export class AllKnownLayouts { public static GenerateDocumentationForTheme(theme: LayoutConfig): BaseUIElement { return new Combine([ - new Title(new Combine([theme.title, "(", theme.id + ")"]), 2), + new Title( + new Combine([ + theme.title, + "(", + new Link(theme.id, "https://mapcomplete.osm.be/" + theme.id), + ")", + ]), + 2 + ), theme.description, "This theme contains the following layers:", new List(