Skip to content
Snippets Groups Projects
Commit 36e7e506 authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon: Committed by Sebastian Listl
Browse files

1059155 fix bulkmail edit eml-files Infotext

parent b374d9c0
No related branches found
No related tags found
No related merge requests found
......@@ -317,6 +317,12 @@
<name>#PROVIDER_AGGREGATES</name>
<useAggregates v="true" />
</entityProvider>
<entityField>
<name>emlEditInfo</name>
<documentation>%aditoprj%/entity/BulkMail_entity/entityfields/emleditinfo/documentation.adoc</documentation>
<stateProcess>%aditoprj%/entity/BulkMail_entity/entityfields/emleditinfo/stateProcess.js</stateProcess>
<valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/emleditinfo/valueProcess.js</valueProcess>
</entityField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
ToDo: This is only a temporary solution, since it's currently not possible to edit eml-files 1072188
\ No newline at end of file
import("system.result");
import("system.vars");
import("system.neon");
import("DocumentTemplate_lib");
if (vars.get("$sys.recordstate") != neon.OPERATINGSTATE_VIEW && vars.get("$field.templateType") == DocumentTemplate.types.EML) // TODO: invisible for html as there are problems with images which are removed by the html-editor
result.string(neon.COMPONENTSTATE_READONLY);
else
result.string(neon.COMPONENTSTATE_INVISIBLE);
\ No newline at end of file
import("system.translate");
import("system.result");
result.string(translate.text("EML files can't be edited here. You can download, edit and reupload the template if you want to change the content."))
......@@ -18,6 +18,10 @@
<key>Illegal Parent Operator in buildFilterObj-Function:</key>
<value>Übergebener Operator ungültig in Funktion "buildFilterObj"</value>
</entry>
<entry>
<key>EML files can't be edited here. You can download, edit and reupload the template to change the content.</key>
<value>Das Bearbeiten von EML-Dateien ist hier nicht möglich. Um den Inhalt zu ändern, können Sie die Vorlage herunterladen, bearbeiten und erneut hochladen.</value>
</entry>
<entry>
<key>Probability AI</key>
<value>Wahrscheinlichkeit KI</value>
......
......@@ -35,6 +35,10 @@
<name>30f0e67c-3965-4506-b924-9d0e2693c2af</name>
<entityField>content</entityField>
</entityFieldLink>
<entityFieldLink>
<name>6d3abe02-5d37-44df-bcde-4ebbcec5e35c</name>
<entityField>emlEditInfo</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
</children>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment