Skip to content
Snippets Groups Projects
Commit 744b85bf authored by Andreas Schindlbeck's avatar Andreas Schindlbeck
Browse files

Notifications: Anpassungen Icon + Filterview

parent ab78bb43
No related branches found
No related tags found
No related merge requests found
...@@ -64,6 +64,8 @@ ...@@ -64,6 +64,8 @@
</entityField> </entityField>
<entityField> <entityField>
<name>TYPECODE</name> <name>TYPECODE</name>
<title>Type</title>
<displayValueProcess>%aditoprj%/entity/Notification_entity/entityfields/typecode/displayValueProcess.js</displayValueProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>VERSION</name> <name>VERSION</name>
......
import("system.result");
import("system.translate");
import("system.vars");
var PREFIX = "_____SYSTEM_";
var typecode = vars.get("$field.TYPECODE");
switch(typecode)
{
case PREFIX + "NOTIFICATION_APPOINTMENT":
result.string(translate.text("Appointment"));
break;
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<neonNotificationType xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonNotificationType/1.1.0"> <neonNotificationType xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonNotificationType/1.1.0">
<name>AndisNotification</name> <name>Andis</name>
<title>Andis Noti</title> <title>Andis Noti</title>
<majorModelMode>DISTRIBUTED</majorModelMode> <majorModelMode>DISTRIBUTED</majorModelMode>
<icon>VAADIN:ASTERISK</icon> <icon>VAADIN:COMMENT_ELLIPSIS_O</icon>
<resultFrameNeon></resultFrameNeon> <resultFrameNeon></resultFrameNeon>
<onResultOpen>%aditoprj%/neonNotificationType/AndisNotification/onResultOpen.js</onResultOpen> <onResultOpen>%aditoprj%/neonNotificationType/Andis/onResultOpen.js</onResultOpen>
</neonNotificationType> </neonNotificationType>
...@@ -22,6 +22,10 @@ ...@@ -22,6 +22,10 @@
<name>1cff3be1-523d-4a5a-b7d1-389d7cbb726f</name> <name>1cff3be1-523d-4a5a-b7d1-389d7cbb726f</name>
<entityField>ICON</entityField> <entityField>ICON</entityField>
</neonTableColumn> </neonTableColumn>
<neonTableColumn>
<name>ebf8b6d5-1057-425d-a57b-d02e25dbd2a4</name>
<entityField>TYPECODE</entityField>
</neonTableColumn>
<neonTableColumn> <neonTableColumn>
<name>0ed20b46-be6a-424c-a583-a3f7496ec3f9</name> <name>0ed20b46-be6a-424c-a583-a3f7496ec3f9</name>
<entityField>CREATIONDATE</entityField> <entityField>CREATIONDATE</entityField>
......
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