forked from MapComplete/MapComplete
Small tweaks to attribution panel
This commit is contained in:
parent
c78f8f6cdc
commit
d072552043
7 changed files with 27 additions and 56 deletions
|
@ -9,6 +9,7 @@ import {Utils} from "../../Utils";
|
|||
export default class LayoutConfig {
|
||||
public readonly id: string;
|
||||
public readonly maintainer: string;
|
||||
public readonly credits?: string;
|
||||
public readonly changesetmessage?: string;
|
||||
public readonly version: string;
|
||||
public readonly language: string[];
|
||||
|
@ -48,6 +49,7 @@ export default class LayoutConfig {
|
|||
this.id = json.id;
|
||||
context = (context ?? "") + "." + this.id;
|
||||
this.maintainer = json.maintainer;
|
||||
this.credits = json.credits;
|
||||
this.changesetmessage = json.changesetmessage;
|
||||
this.version = json.version;
|
||||
this.language = [];
|
||||
|
|
|
@ -24,6 +24,12 @@ export interface LayoutConfigJson {
|
|||
* 'cyclestreets' which become 'cyclestreets.html'
|
||||
*/
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* Who helped to create this theme and should be attributed?
|
||||
*/
|
||||
credits?: string;
|
||||
|
||||
/**
|
||||
* Who does maintian this preset?
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue