diff app/store/Info.js @ 259:d19ad9d28de5

Added code to show general information about the application in the probenauswahlliste.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 25 Jul 2013 14:26:06 +0200
parents
children 39297b8e5ba2
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/store/Info.js	Thu Jul 25 14:26:06 2013 +0200
@@ -0,0 +1,13 @@
+Ext.define('Lada.store.Info', {
+    extend: 'Ext.data.Store',
+    fields: ['user', 'groups', 'version'],
+    proxy: {
+         type: 'rest',
+         url: 'server/rest/info',
+         reader: {
+             type: 'json',
+             root: 'data'
+         }
+     }
+});
+

http://lada.wald.intevation.org