Add new field acknowledgement and adjacent visibility fields

Close #11
This commit is contained in:
Joshua Ramon Enslin 2022-03-29 17:25:26 +02:00
parent 5f9e9cf5bf
commit 58a450cb9f
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
3 changed files with 28 additions and 2 deletions

View File

@ -501,6 +501,32 @@ final class CsvxmlAvailableFields {
"" ""
), ),
], ],
$tlLoader->tl("object_addendum", "object_add", "acknowledgements") => [
"acknowledgements" => new FieldEntry(
false,
[],
['acknowledgements_md', 'acknowledgements_extern'],
'', # 'If <i>acknowledgements</i> is made available for an object, <i>acknowledgements_md></i> and <i>acknowledgements_extern</i> have to have values too',
$tlLoader->tl("object_addendum", "object_add", "acknowledgements"),
$tlLoader->tl("object_addendum", "object_add", "acknowledgements_explica"),
),
"acknowledgements_md" => new FieldEntry(
false,
["y", "n"],
['acknowledgements_md', 'acknowledgements_extern'],
'Shall a given acknowledgement be displayed at museum-digital? If <i>acknowledgements</i> is available for an object, <i>acknowledgements_md></i> and <i>acknowledgements_extern</i> have to have values too',
$tlLoader->tl("object_addendum", "object_add", 'besch_visibility_md'),
""
),
"acknowledgements_extern" => new FieldEntry(
false,
["y", "n"],
['acknowledgements_md', 'acknowledgements_extern'],
'Shall later exports from museum-digital inlude acknowledgements? If <i>acknowledgements</i> is available for an object, <i>acknowledgements_md></i> and <i>acknowledgements_extern</i> have to have values too',
$tlLoader->tl("object_addendum", "object_add", 'besch_visibility_extern'),
""
),
],
$tlLoader->tl("basis", "basis", 'administration') => [ $tlLoader->tl("basis", "basis", 'administration') => [
"inclusion_when" => new FieldEntry( "inclusion_when" => new FieldEntry(
false, false,

@ -1 +1 @@
Subproject commit 9507387c8a69c88a1aa684fb6d87026671885ded Subproject commit 6a7b8bd8fdef418f11b2fe8f164a5ea9643eb091

@ -1 +1 @@
Subproject commit 9acd4aa1db706fc4f0213c49528ba1ee8bf93291 Subproject commit 67eebcf503bf9f9b44f900b021f9c18555bb0a76