Generate proper labels for Canvas resources

This commit is contained in:
2024-04-18 10:43:10 +02:00
parent 0cf0df54af
commit 1e6e8989e1
3 changed files with 17 additions and 4 deletions

View File

@@ -9,7 +9,8 @@ class ManifestMetadata {
date = '';
imageAuthor = '';
license = 'CC BY-NC-ND 4.0';
copyright = "Ministero della Cultura (Biblioteca Nazionale 'Vittorio Emanuele III' di Napoli)/CNR-Istituto di Scienze del Patrimonio Culturale";
copyright = `Ministero della Cultura (Biblioteca Nazionale
'Vittorio Emanuele III' di Napoli)/CNR-Istituto di Scienze del Patrimonio Culturale`;
/**
* @todo Maybe this doesn't make any sense??
@@ -39,7 +40,6 @@ class ManifestMetadata {
this.license = metadata.license ?? this.license;
this.copyright = metadata.copyright ?? this.copyright;
}
/**
* Returns an array of `label, value`
* pairs for all metadata