diff app/view/messungen/List.js @ 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 d1bb925bb5f5
children debfcc7713e3
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