Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
454:edb9dee114f8 | 455:7e73478780fe |
---|---|
55 } else { | 55 } else { |
56 return sstore.last().get('status'); | 56 return sstore.last().get('status'); |
57 } | 57 } |
58 } | 58 } |
59 }, | 59 }, |
60 {header: 'OK-Flag', dataIndex: "fertig"}, | 60 { |
61 header: 'OK-Flag', | |
62 dataIndex: "fertig", | |
63 renderer: function(value) { | |
64 if (value) { | |
65 return "Ja"; | |
66 } else { | |
67 return "Nein"; | |
68 } | |
69 } | |
70 }, | |
61 { | 71 { |
62 header: 'Anzahl Nuklide', | 72 header: 'Anzahl Nuklide', |
63 dataIndex: 'id', | 73 dataIndex: 'id', |
64 renderer: function(value) { | 74 renderer: function(value) { |
65 var mstore = Ext.getStore('Messwerte'); | 75 var mstore = Ext.getStore('Messwerte'); |