Cover new fields: form, color, sex

This commit is contained in:
2023-09-01 13:02:11 +02:00
parent d13972229f
commit befe228396
7 changed files with 85 additions and 7 deletions

View File

@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css?64da941414bbb" />
<link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css?64f1c4af467cf" />
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#aa4400" />
@ -27,7 +27,7 @@
</head>
<body class="loading">
<script src="assets/js/csvxmlV2.min.js?64da941414bbc" type="text/javascript" async></script>
<script src="assets/js/csvxmlV2.min.js?64f1c4af467d0" type="text/javascript" async></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -257,6 +257,84 @@ final class CsvxmlAvailableFields {
"",
),
],
$tlLoader->tl("basis", "basis", "color") => [
"color" => new FieldEntry(
false,
MDColorsSet::COLOR_NAMES,
['color_md', 'color_extern'],
'If <i>color</i> is made available for an object, <i>color_md></i> and <i>color_extern</i> have to have values too',
$tlLoader->tl("basis", "basis", "color"),
$tlLoader->tl("object_addendum", "object_add", "color_explica"),
),
"color_md" => new FieldEntry(
false,
["y", "n"],
['color_md', 'color_extern'],
'Shall a given color be displayed at museum-digital? If <i>color</i> is available for an object, <i>color_md></i> and <i>color_extern</i> have to have values too',
$tlLoader->tl("basis", "basis", "color") . ' (md)',
"",
),
"color_extern" => new FieldEntry(
false,
["y", "n"],
['color_md', 'color_extern'],
'Shall later exports from museum-digital inlude color? If <i>color</i> is available for an object, <i>color_md></i> and <i>color_extern</i> have to have values too',
$tlLoader->tl("basis", "basis", "color") . ' (extern)',
"",
),
],
$tlLoader->tl("basis", "basis", "sex") => [
"sex" => new FieldEntry(
false,
MDGenderSet::GENDERS,
['sex_md', 'sex_extern'],
'If <i>sex</i> is made available for an object, <i>sex_md></i> and <i>sex_extern</i> have to have values too',
$tlLoader->tl("basis", "basis", "sex"),
$tlLoader->tl("object_addendum", "object_add", "sex_explica"),
),
"sex_md" => new FieldEntry(
false,
["y", "n"],
['sex_md', 'sex_extern'],
'Shall a given sex be displayed at museum-digital? If <i>sex</i> is available for an object, <i>sex_md></i> and <i>sex_extern</i> have to have values too',
$tlLoader->tl("basis", "basis", "sex") . ' (md)',
"",
),
"sex_extern" => new FieldEntry(
false,
["y", "n"],
['sex_md', 'sex_extern'],
'Shall later exports from museum-digital inlude sex? If <i>sex</i> is available for an object, <i>sex_md></i> and <i>sex_extern</i> have to have values too',
$tlLoader->tl("basis", "basis", "sex") . ' (extern)',
"",
),
],
$tlLoader->tl("object_addendum", "object_add", "form") => [
"form" => new FieldEntry(
false,
MDObjectFormSet::FORMS,
['form_md', 'form_extern'],
'If <i>form</i> is made available for an object, <i>form_md></i> and <i>form_extern</i> have to have values too',
$tlLoader->tl("object_addendum", "object_add", "form"),
$tlLoader->tl("object_addendum", "object_add", "form_explica"),
),
"form_md" => new FieldEntry(
false,
["y", "n"],
['form_md', 'form_extern'],
'Shall a given form be displayed at museum-digital? If <i>form</i> is available for an object, <i>form_md></i> and <i>form_extern</i> have to have values too',
$tlLoader->tl("object_addendum", "object_add", "form") . ' (md)',
"",
),
"form_extern" => new FieldEntry(
false,
["y", "n"],
['form_md', 'form_extern'],
'Shall later exports from museum-digital inlude form? If <i>form</i> is available for an object, <i>form_md></i> and <i>form_extern</i> have to have values too',
$tlLoader->tl("object_addendum", "object_add", "form") . ' (extern)',
"",
),
],
$tlLoader->tl("object_addendum", "object_add", "material") . " / " . $tlLoader->tl("object_addendum", "object_add", "technique") => [
"material_separate" => new FieldEntry(