examples/bootstrap/dashboard4.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 17 Sep 2020 06:10:00 +0000 (14:10 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 17 Sep 2020 06:10:00 +0000 (14:10 +0800)
examples/bootstrap/dashboard4.js

examples/bootstrap/dashboard4.bjs
examples/bootstrap/dashboard4.js

index 6c2c64d..1f9ae24 100644 (file)
@@ -8,6 +8,7 @@
  "strings" : {
   "e93b3fa481be3932aa08bd68c3deee70" : "example 1",
   "e037df87a91c6e2727f0d9eb15c8127f" : "this is the body text",
+  "9cf863d802aca813531ca28b319ead90" : "Add Issue",
   "d9fb0367346d21079a1c52d72da61c9f" : "ticket 1"
  },
  "items" : [
@@ -38,7 +39,8 @@
         {
          "String weight" : "primary",
          "xtype" : "Button",
-         "$ xns" : "Roo.bootstrap"
+         "$ xns" : "Roo.bootstrap",
+         "String html" : "Add Issue"
         }
        ]
       }
index d89ad36..1259e08 100644 (file)
@@ -7,6 +7,7 @@ dashboard4 = new Roo.XComponent({
  _strings : {
   'e93b3fa481be3932aa08bd68c3deee70' :"example 1",
   'e037df87a91c6e2727f0d9eb15c8127f' :"this is the body text",
+  '9cf863d802aca813531ca28b319ead90' :"Add Issue",
   'd9fb0367346d21079a1c52d72da61c9f' :"ticket 1"
  },
 
@@ -51,6 +52,7 @@ dashboard4 = new Roo.XComponent({
         },
         {
          xtype : 'Button',
+         html : _this._strings['9cf863d802aca813531ca28b319ead90'] /* Add Issue */,
          weight : 'primary',
          xns : Roo.bootstrap,
          '|xns' : 'Roo.bootstrap'