]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/VersionInfo.js
spam: options: adapt do new defaults for bayes/awl
[pmg-gui.git] / js / VersionInfo.js
index b094ff08dd53e084be017ef845f338006d2e1d9c..408a380c2d005fdfa409521ec0a46fea8fafbd8b 100644 (file)
@@ -1,19 +1,23 @@
-/*global Proxmox*/
-Ext.define('PMG.view.main.VersionInfo',{
+Ext.define('PMG.view.main.VersionInfo', {
     extend: 'Ext.Component',
     xtype: 'versioninfo',
 
     makeApiCall: true,
 
     data: {
-       version: false
+       version: false,
+    },
+
+    style: {
+       'font-size': '14px',
+       'line-height': '18px',
     },
 
     tpl: [
        'Mail Gateway',
        '<tpl if="version">',
-       ' {version}-{release}',
-       '</tpl>'
+       ' {version}',
+       '</tpl>',
     ],
 
     initComponent: function() {
@@ -26,8 +30,8 @@ Ext.define('PMG.view.main.VersionInfo',{
                method: 'GET',
                success: function(response) {
                    me.update(response.result.data);
-               }
+               },
            });
        }
-    }
+    },
 });