[Lada-commits] [PATCH] Added user icons to the toolbar

Wald Commits scm-commit at wald.intevation.org
Thu Aug 29 16:36:22 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1377786893 -7200
# Node ID ea424aacd07fc1ec37a079d19f12c4c689a8c902
# Parent  fe8d6e1b08ffdcfa315d7a8ee9dc8c2ba228907b
Added user icons to the toolbar.

diff -r fe8d6e1b08ff -r ea424aacd07f app/view/Viewport.js
--- a/app/view/Viewport.js	Thu Aug 29 14:14:27 2013 +0200
+++ b/app/view/Viewport.js	Thu Aug 29 16:34:53 2013 +0200
@@ -165,11 +165,10 @@
                         }
                     },
                     "->",
-                    "User:",
-                    {xtype: "tbtext", id:"userinfo", text:"test"},
-                    "Blubb",
-                    "Group:",
-                    {xtype: "tbtext", id:"groupinfo", text:"test"}
+                    {xtype: 'box', autoEl: {tag: 'img', src:'gfx/user.png'}},
+                    {xtype: "tbtext", id:"userinfo", text:""},
+                    {xtype: 'box', autoEl: {tag: 'img', src:'gfx/usergroup.png'}},
+                    {xtype: "tbtext", id:"groupinfo", text:""}
                     ]
                 }
             ],
diff -r fe8d6e1b08ff -r ea424aacd07f gfx/user.png
Binary file gfx/user.png has changed
diff -r fe8d6e1b08ff -r ea424aacd07f gfx/usergroup.png
Binary file gfx/usergroup.png has changed


More information about the Lada-commits mailing list