Skip to content
Snippets Groups Projects
Commit d78b0fbb authored by Johannes Hörmann's avatar Johannes Hörmann Committed by David Büchler
Browse files

Classification refactorings / fixes

parent b664906b
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@
</entityField>
<entityField>
<name>CLASSIFICATIONSCORE_ID</name>
<title>Selection</title>
<consumer>ClassificationScores</consumer>
<titleProcess>%aditoprj%/entity/Classification_entity/entityfields/classificationscore_id/titleProcess.js</titleProcess>
<displayValueProcess>%aditoprj%/entity/Classification_entity/entityfields/classificationscore_id/displayValueProcess.js</displayValueProcess>
......
import("system.neon");
import("system.result");
import("system.vars");
import("system.translate");
result.string(translate.text(vars.get("$field.SCORETYPE")))
\ No newline at end of file
if (vars.get("$sys.recordstate") && vars.get("$sys.recordstate") != neon.OPERATINGSTATE_VIEW)
{
result.string(translate.text(vars.get("$field.SCORETYPE")))
}
\ No newline at end of file
......@@ -3840,6 +3840,9 @@
<entry>
<key>Possible Values</key>
</entry>
<entry>
<key>251 to 1,000</key>
</entry>
<entry>
<key>a</key>
</entry>
......@@ -3847,7 +3850,16 @@
<key>${SCORETYPE_ALREADY_EXISTS}</key>
</entry>
<entry>
<key>251 to 1,000</key>
<key>1</key>
</entry>
<entry>
<key>Selection</key>
</entry>
<entry>
<key>aasfd</key>
</entry>
<entry>
<key>123</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
......
......@@ -4797,8 +4797,17 @@
<value>Der eingegebene Bewertungstyp existiert bereits in irgend einer Klassifizierung.</value>
</entry>
<entry>
<key>New step</key>
<value>Neue Stufe</value>
<key>1</key>
</entry>
<entry>
<key>Selection</key>
<value>Auswahl</value>
</entry>
<entry>
<key>aasfd</key>
</entry>
<entry>
<key>123</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
......
......@@ -3901,6 +3901,18 @@
<entry>
<key>251 to 1,000</key>
</entry>
<entry>
<key>1</key>
</entry>
<entry>
<key>Selection</key>
</entry>
<entry>
<key>aasfd</key>
</entry>
<entry>
<key>123</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
</language>
......@@ -8,10 +8,8 @@
</boxLayout>
</layout>
<children>
<treeViewTemplate>
<name>classificationTree</name>
<titleField>SCORETYPE</titleField>
<descriptionField>CLASSIFICATIONSCORE_ID</descriptionField>
<treeTableViewTemplate>
<name>ClassificationTreeTable</name>
<defaultGroupFields>
<element>CLASSIFICATIONNUMBER</element>
</defaultGroupFields>
......@@ -19,6 +17,16 @@
<showChildrenCount v="false" />
<entryAction>edit</entryAction>
<entityField>#ENTITY</entityField>
</treeViewTemplate>
<columns>
<neonTableColumn>
<name>246c0212-dadb-4d71-9567-ceab37e9ef10</name>
<entityField>SCORETYPE</entityField>
</neonTableColumn>
<neonTableColumn>
<name>9a62baa4-71cf-4b9d-8cd6-883b233a9b84</name>
<entityField>CLASSIFICATIONSCORE_ID</entityField>
</neonTableColumn>
</columns>
</treeTableViewTemplate>
</children>
</neonView>
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