Mercurial > lada > lada-client
annotate app/model/StatusWerte.js @ 1074:ca204e91012f
Enable add-Button only if the user is authorized.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 07 Apr 2016 14:02:51 +0200 |
parents | f73ca04d73a7 |
children |
rev | line source |
---|---|
946 | 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 * Model class for StatusWerte | |
11 */ | |
12 Ext.define('Lada.model.StatusWerte', { | |
13 extend: 'Ext.data.Model', | |
14 | |
15 fields: [{ | |
16 name: 'id' | |
17 }, { | |
956
45c67a784b31
Added StatusStufe to the StatusGrid. Created Store and Model for StatusStufe
Dustin Demuth <dustin@intevation.de>
parents:
946
diff
changeset
|
18 name: 'wert', |
45c67a784b31
Added StatusStufe to the StatusGrid. Created Store and Model for StatusStufe
Dustin Demuth <dustin@intevation.de>
parents:
946
diff
changeset
|
19 type: 'string' |
946 | 20 }], |
21 | |
22 idProperty: 'id', | |
23 | |
24 proxy: { | |
25 type: 'rest', | |
999 | 26 url: 'lada-server/rest/statuswert', |
946 | 27 reader: { |
28 type: 'json', | |
29 root: 'data' | |
30 } | |
31 } | |
32 | |
33 }); |