forked from MapComplete/MapComplete
Include link to theme from documentation
This commit is contained in:
parent
338b383c8c
commit
febc4da6ec
1 changed files with 9 additions and 1 deletions
|
@ -215,7 +215,15 @@ export class AllKnownLayouts {
|
||||||
|
|
||||||
public static GenerateDocumentationForTheme(theme: LayoutConfig): BaseUIElement {
|
public static GenerateDocumentationForTheme(theme: LayoutConfig): BaseUIElement {
|
||||||
return new Combine([
|
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,
|
theme.description,
|
||||||
"This theme contains the following layers:",
|
"This theme contains the following layers:",
|
||||||
new List(
|
new List(
|
||||||
|
|
Loading…
Add table
Reference in a new issue