Pman.Tab.CmsBlog.bjs
authoredward <edward@roojs.com>
Thu, 19 Apr 2018 07:08:09 +0000 (15:08 +0800)
committeredward <edward@roojs.com>
Thu, 19 Apr 2018 07:08:09 +0000 (15:08 +0800)
Pman.Tab.CmsBlog.js

Pman.Tab.CmsBlog.bjs
Pman.Tab.CmsBlog.js

index a471bc1..9b02ec9 100644 (file)
           },
           {
            "xtype" : "ColumnModel",
-           "width" : 50,
+           "width" : 40,
            "header" : "Active",
            "$ renderer" : "function(v,x,r) {\n     \n    var state = v> 0 ?  '' : '-checked';\n\n    return '<img class=\"x-grid-check-icon' + state + '\" src=\"' + Roo.BLANK_IMAGE_URL + '\"/>';\n}",
            "$ xns" : "Roo.grid",
           },
           {
            "xtype" : "ColumnModel",
-           "width" : 125,
+           "width" : 100,
            "header" : "Location",
            "$ renderer" : "function(v,x,r) { \n\n    var fmt = '';\n    \n    if(r.data.template_id_template.length){\n        \n        fmt = (r.data.is_deleted ? '<s>{0} [{1}]</s>' : '{0} [{1}]');\n        \n        return String.format(fmt, v, r.data.template_id_template);\n    }\n    \n    fmt = (r.data.is_deleted ? '<s>{0}</s>' : '{0}');\n    \n    return String.format( fmt, v);\n    \n    \n }",
            "$ xns" : "Roo.grid",
index d14f633..669340f 100644 (file)
@@ -1920,7 +1920,7 @@ Pman.Tab.CmsBlog = new Roo.XComponent({
          
              return '<img class="x-grid-check-icon' + state + '" src="' + Roo.BLANK_IMAGE_URL + '"/>';
          },
-         width : 50,
+         width : 40,
          xns : Roo.grid,
          '|xns' : 'Roo.grid'
         },
@@ -1945,7 +1945,7 @@ Pman.Tab.CmsBlog = new Roo.XComponent({
              
              
           },
-         width : 125,
+         width : 100,
          xns : Roo.grid,
          '|xns' : 'Roo.grid'
         },