comparison app/view/Viewport.js @ 262:1626279daadb 0.2

Set client version
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 26 Jul 2013 10:21:06 +0200
parents d19ad9d28de5
children 6eaa741b396b
comparison
equal deleted inserted replaced
261:1375ff0f248d 262:1626279daadb
28 setInfo: function() { 28 setInfo: function() {
29 var store = Ext.create('Lada.store.Info'); 29 var store = Ext.create('Lada.store.Info');
30 store.load({ 30 store.load({
31 callback: function(a,b,c) { 31 callback: function(a,b,c) {
32 var info = store.data.items[0]; 32 var info = store.data.items[0];
33 var clientVersion = "-/- (-/-)"; 33 var clientVersion = "r261 (2013-07-26)";
34 var user = info.get('user'); 34 var user = info.get('user');
35 var groups = info.get('groups'); 35 var groups = info.get('groups');
36 var serverVersion = info.get('version'); 36 var serverVersion = info.get('version');
37 var info = Ext.getCmp('systeminfo'); 37 var info = Ext.getCmp('systeminfo');
38 info.update('Nutzer: '+user+' | Gruppe(n): '+groups+' | Server: '+serverVersion+' | Client: '+clientVersion); 38 info.update('Nutzer: '+user+' | Gruppe(n): '+groups+' | Server: '+serverVersion+' | Client: '+clientVersion);

http://lada.wald.intevation.org