Add field to cover tag relations (tag_relation_type)

Close #29
This commit is contained in:
Joshua Ramon Enslin 2023-05-14 17:06:49 +02:00
parent 3ee4174863
commit ddf26e7e52
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
12 changed files with 21 additions and 12 deletions

@ -1 +1 @@
Subproject commit e97aac918e118aeab1170c44654a1df282664adc
Subproject commit f9366b686eae1f19be0f94dfdb22a89fcf0a0e73

@ -1 +1 @@
Subproject commit a2b0325f5b1612cca732b09da16d4941231b320f
Subproject commit 39ce16f72d9f02ada9740a4b6207491f88a68ae3

@ -1 +1 @@
Subproject commit 23232f4e6a2d432d5e5317760aa9ae10ae0c4b6a
Subproject commit 66a5b77b51649e8555d6c3fcca11b2d54dc2eff0

View File

@ -23,6 +23,7 @@ const AUTOLOAD_DIRS = [
__DIR__ . "/../classes/MDTlLoader/src",
__DIR__ . "/../classes/MD_STD/src",
__DIR__ . "/../classes/MDAllowedValueSets/src",
__DIR__ . "/../classes/MDAllowedValueSets/src/enums",
__DIR__ . "/../classes/MDExportFormats/src",
__DIR__ . "/../classes/MDErrorReporter",
__DIR__ . "/../classes/MDMailer/src",

@ -1 +1 @@
Subproject commit d15e975e65580fe66067d40daa4193b42dbcd2b6
Subproject commit a009483e78081786dab1c9ac84228e8560981693

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?645badbfea216" />
<link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css?6460f889527f5" />
<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?645badbfea217" type="text/javascript" async></script>
<script src="assets/js/csvxmlV2.min.js?6460f889527f6" 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

@ -1276,7 +1276,7 @@ final class CsvxmlAvailableFields {
for ($i = 1; $i <= 10 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("overview", "overview", 'tags')]["tag{$i}"] = new FieldEntry(
$availableFields[$tlLoader->tl("overview", "overview", 'tags')]["tag" . $i] = new FieldEntry(
false,
[],
[],
@ -1284,6 +1284,14 @@ final class CsvxmlAvailableFields {
$tlLoader->tl("overview", "overview", 'tags'),
"",
);
$availableFields[$tlLoader->tl("overview", "overview", 'tags')]["tag_relation_type" . $i] = new FieldEntry(
false,
MDTagRelationType::caseNames(),
["tag" . $i],
'',
$tlLoader->tl("object_addendum", "object_add", 'tag_relation_type'),
$tlLoader->tl("object_addendum", "object_add", 'tag_relation_type_explica'),
);
}