changeset 455:7e73478780fe

Issue55: Show "Ja"/"Nein" for Fertig-Flag in Overview.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 16 Dec 2013 14:53:41 +0100
parents edb9dee114f8
children 683b8a3010cc
files app/view/messungen/List.js
diffstat 1 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/messungen/List.js	Fri Dec 13 12:42:30 2013 +0100
+++ b/app/view/messungen/List.js	Mon Dec 16 14:53:41 2013 +0100
@@ -57,7 +57,17 @@
                     }
                 }
             },
-            {header: 'OK-Flag', dataIndex: "fertig"},
+            {
+                header: 'OK-Flag',
+                dataIndex: "fertig",
+                renderer: function(value) {
+                    if (value) {
+                        return "Ja";
+                    } else {
+                        return "Nein";
+                    }
+                }
+             },
             {
                 header: 'Anzahl Nuklide',
                 dataIndex: 'id',

http://lada.wald.intevation.org