Mercurial > lada > lada-client
comparison app/store/StatusWerte.js @ 799:ad24af3fcf89
created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 21 May 2015 15:54:25 +0200 |
parents | |
children | 023e622f9551 |
comparison
equal
deleted
inserted
replaced
798:ff4330d4aba1 | 799:ad24af3fcf89 |
---|---|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz | |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU GPL (v>=3) | |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out | |
6 * the documentation coming with IMIS-Labordaten-Application for details. | |
7 */ | |
8 | |
9 /** | |
10 * Store for Status-Werte | |
11 * TODO i18n | |
12 */ | |
13 Ext.define('Lada.store.StatusWerte', { | |
14 extend: 'Ext.data.Store', | |
15 fields: ['display', 'id'], | |
16 data: [{ | |
17 display: 'unbekannt', id: 0 | |
18 }, { | |
19 display: 'nicht vergeben', id: 1 | |
20 }, { | |
21 display: 'plausibel', id: 2 | |
22 }, { | |
23 display: 'nicht repräsentativ', id: 3 | |
24 }, { | |
25 display: 'nicht plausibel', id: 4 | |
26 }] | |
27 }); |