{
- "id": "roo-file-134",
- "name": "Pman.Tab.MTrackRepos",
- "parent": "Pman.Tab.MTrack",
- "title": "Pman.Tab.MTrackRepos",
- "path": "/home/alan/gitlive/Pman.MTrack/Pman.Tab.MTrackRepos.bjs",
- "items": [
+ "name" : "Pman.Tab.MTrackRepos",
+ "parent" : "Pman.Tab.MTrack",
+ "title" : "Pman.Tab.MTrackRepos",
+ "path" : "/home/alan/gitlive/Pman.MTrack/Pman.Tab.MTrackRepos.bjs",
+ "permname" : "",
+ "modOrder" : "001",
+ "strings" : {
+ "ec211f7c20af43e742bf2570c3cb84f9" : "Add",
+ "9e727fdd3aec8274f46685441900280d" : "Project",
+ "7dce122004969d56ae2e0245cb754d35" : "Edit",
+ "73cdcee8881d309dd256134f98347769" : "Repopath",
+ "30269022e9d8f51beaabb52e5d0de2b7" : "Parent",
+ "de1f88f6f7789baf4d35f2919f100fc3" : "Repositories",
+ "97ec8018c492164da252cbaf95f0fa98" : "Shortname",
+ "a4cf31f8bea7da20524198fbe5c0db2a" : "No mtrack_repos found",
+ "f1c61eb7938469f5aa08964c8b2be862" : "Scmtype",
+ "b5a7adde1af5c87d7fd797b6245c2a39" : "Description",
+ "6c47888cc8867737f167632508b2f58b" : "Displaying mtrack_repos{0} - {1} of {2}"
+ },
+ "items" : [
+ {
+ "listeners" : {
+ "|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
+ },
+ "fitToframe" : true,
+ "background" : true,
+ "region" : "center",
+ "title" : "Repositories",
+ "xtype" : "GridPanel",
+ "fitContainer" : true,
+ "$ xns" : "Roo",
+ "tableName" : "mtrack_repos",
+ "items" : [
+ {
+ "listeners" : {
+ "|rowdblclick" : "function (_self, rowIndex, e)\n{\n if (!_this.dialog) { return; }\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n",
+ "|render" : "function() \n{\n _this.grid = this; \n _this.dialog = Pman.Dialog.MTrackRepos;\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}"
+ },
+ "autoExpandColumn" : "shortname",
+ "xtype" : "Grid",
+ "loadMask" : true,
+ "$ xns" : "Roo.grid",
+ "* prop" : "grid",
+ "items" : [
+ {
+ "remoteSort" : true,
+ "xtype" : "Store",
+ "$ sortInfo" : "{ field : 'shortname', direction: 'ASC' }",
+ "$ xns" : "Roo.data",
+ "* prop" : "dataSource",
+ "items" : [
{
- "listeners": {
- "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
- },
- "background": true,
- "fitContainer": true,
- "fitToframe": true,
- "region": "center",
- "tableName": "mtrack_repos",
- "title": "Repositories",
- "xtype": "GridPanel",
- "|xns": "Roo",
- "items": [
- {
- "listeners": {
- "|render": "function() \n{\n _this.grid = this; \n _this.dialog = Pman.Dialog.MTrackRepos;\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}",
- "|rowdblclick": "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
- },
- "*prop": "grid",
- "autoExpandColumn": "shortname",
- "loadMask": true,
- "xtype": "Grid",
- "|xns": "Roo.grid",
- "items": [
- {
- "*prop": "dataSource",
- "xtype": "Store",
- "remoteSort": true,
- "|sortInfo": "{ field : 'shortname', direction: 'ASC' }",
- "|xns": "Roo.data",
- "items": [
- {
- "*prop": "proxy",
- "xtype": "HttpProxy",
- "method": "GET",
- "|url": "baseURL + '/Roo/mtrack_repos.php'",
- "|xns": "Roo.data"
- },
- {
- "|xns": "Roo.data",
- "xtype": "JsonReader",
- "totalProperty": "total",
- "root": "data",
- "*prop": "reader",
- "id": "id",
- "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'shortname',\n 'type': 'string'\n },\n {\n 'name': 'scmtype',\n 'type': 'string'\n },\n {\n 'name': 'repopath',\n 'type': 'string'\n },\n {\n 'name': 'browserurl',\n 'type': 'string'\n },\n {\n 'name': 'browsertype',\n 'type': 'string'\n },\n {\n 'name': 'description',\n 'type': 'string'\n },\n {\n 'name': 'serverurl',\n 'type': 'string'\n },\n {\n 'name': 'parent',\n 'type': 'string'\n },\n {\n 'name': 'clonedfrom',\n 'type': 'int'\n },\n {\n 'name': 'project_id',\n 'type': 'int'\n }\n]"
- }
- ]
- },
- {
- "*prop": "footer",
- "xtype": "PagingToolbar",
- "pageSize": 25,
- "displayInfo": true,
- "displayMsg": "Displaying mtrack_repos{0} - {1} of {2}",
- "emptyMsg": "No mtrack_repos found",
- "|xns": "Roo"
- },
- {
- "*prop": "toolbar",
- "xtype": "Toolbar",
- "|xns": "Roo",
- "items": [
- {
- "listeners": {
- "|click": "function()\n{\n if (!_this.dialog) return;\n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
- },
- "cls": "x-btn-text-icon",
- "text": "Add",
- "xtype": "Button",
- "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
- "|xns": "Roo.Toolbar"
- },
- {
- "listeners": {
- "|click": "function()\n{\n var s = _this.grid.getSelectionModel().getSelections();\n if (!s.length || (s.length > 1)) {\n Roo.MessageBox.alert(\"Error\", s.length ? \"Select only one Row\" : \"Select a Row\");\n return;\n }\n if (!_this.dialog) return;\n _this.dialog.show(s[0].data, function() {\n _this.grid.footer.onClick('reload');\n }); \n \n}\n"
- },
- "cls": "x-btn-text-icon",
- "text": "Edit",
- "xtype": "Button",
- "|icon": "Roo.rootURL + 'images/default/tree/leaf.gif'",
- "|xns": "Roo.Toolbar"
- }
- ]
- },
- {
- "*prop": "colModel[]",
- "dataIndex": "project_id_name",
- "header": "Project",
- "width": 150,
- "xtype": "ColumnModel",
- "|renderer": "function(v) { return String.format('{0}', v); }",
- "|xns": "Roo.grid"
- },
- {
- "xtype": "ColumnModel",
- "header": "Shortname",
- "width": 200,
- "dataIndex": "shortname",
- "|renderer": "function(v) { return String.format('{0}', v); }",
- "|xns": "Roo.grid",
- "*prop": "colModel[]"
- },
- {
- "*prop": "colModel[]",
- "dataIndex": "scmtype",
- "header": "Scmtype",
- "width": 70,
- "xtype": "ColumnModel",
- "|renderer": "function(v) { return String.format('{0}', v); }",
- "|xns": "Roo.grid"
- },
- {
- "*prop": "colModel[]",
- "dataIndex": "repopath",
- "header": "Repopath",
- "width": 100,
- "xtype": "ColumnModel",
- "|renderer": "function(v) { return String.format('{0}', v); }",
- "|xns": "Roo.grid"
- },
- {
- "xtype": "ColumnModel",
- "header": "Description",
- "width": 200,
- "dataIndex": "description",
- "|renderer": "function(v) { return String.format('{0}', v); }",
- "|xns": "Roo.grid",
- "*prop": "colModel[]"
- },
- {
- "*prop": "colModel[]",
- "dataIndex": "parent",
- "header": "Parent",
- "width": 100,
- "xtype": "ColumnModel",
- "|renderer": "function(v) { return String.format('{0}', v); }",
- "|xns": "Roo.grid"
- }
- ]
- }
- ]
+ "$ url" : "baseURL + '/Roo/mtrack_repos.php'",
+ "method" : "GET",
+ "xtype" : "HttpProxy",
+ "$ xns" : "Roo.data",
+ "* prop" : "proxy"
+ },
+ {
+ "id" : "id",
+ "root" : "data",
+ "xtype" : "JsonReader",
+ "$ xns" : "Roo.data",
+ "$ fields" : "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'shortname',\n 'type': 'string'\n },\n {\n 'name': 'scmtype',\n 'type': 'string'\n },\n {\n 'name': 'repopath',\n 'type': 'string'\n },\n {\n 'name': 'browserurl',\n 'type': 'string'\n },\n {\n 'name': 'browsertype',\n 'type': 'string'\n },\n {\n 'name': 'description',\n 'type': 'string'\n },\n {\n 'name': 'serverurl',\n 'type': 'string'\n },\n {\n 'name': 'parent',\n 'type': 'string'\n },\n {\n 'name': 'clonedfrom',\n 'type': 'int'\n },\n {\n 'name': 'project_id',\n 'type': 'int'\n }\n]",
+ "* prop" : "reader",
+ "totalProperty" : "total"
+ }
+ ]
+ },
+ {
+ "pageSize" : 25,
+ "xtype" : "PagingToolbar",
+ "emptyMsg" : "No mtrack_repos found",
+ "$ xns" : "Roo",
+ "displayInfo" : true,
+ "displayMsg" : "Displaying mtrack_repos{0} - {1} of {2}",
+ "* prop" : "footer"
+ },
+ {
+ "xtype" : "Toolbar",
+ "$ xns" : "Roo",
+ "* prop" : "toolbar",
+ "items" : [
+ {
+ "listeners" : {
+ "|click" : "function()\n{\n if (!_this.dialog) return;\n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
+ },
+ "text" : "Add",
+ "xtype" : "Button",
+ "cls" : "x-btn-text-icon",
+ "$ icon" : "Roo.rootURL + 'images/default/dd/drop-add.gif'",
+ "$ xns" : "Roo.Toolbar"
+ },
+ {
+ "listeners" : {
+ "|click" : "function()\n{\n var s = _this.grid.getSelectionModel().getSelections();\n if (!s.length || (s.length > 1)) {\n Roo.MessageBox.alert(\"Error\", s.length ? \"Select only one Row\" : \"Select a Row\");\n return;\n }\n if (!_this.dialog) return;\n _this.dialog.show(s[0].data, function() {\n _this.grid.footer.onClick('reload');\n }); \n \n}\n"
+ },
+ "text" : "Edit",
+ "xtype" : "Button",
+ "cls" : "x-btn-text-icon",
+ "$ icon" : "Roo.rootURL + 'images/default/tree/leaf.gif'",
+ "$ xns" : "Roo.Toolbar"
}
- ],
- "permname": "",
- "modOrder": "001"
+ ]
+ },
+ {
+ "xtype" : "ColumnModel",
+ "header" : "Project",
+ "width" : 150,
+ "$ renderer" : "function(v) { return String.format('{0}', v); }",
+ "$ xns" : "Roo.grid",
+ "* prop" : "colModel[]",
+ "dataIndex" : "project_id_name"
+ },
+ {
+ "xtype" : "ColumnModel",
+ "width" : 200,
+ "header" : "Shortname",
+ "$ renderer" : "function(v) { return String.format('{0}', v); }",
+ "$ xns" : "Roo.grid",
+ "* prop" : "colModel[]",
+ "dataIndex" : "shortname"
+ },
+ {
+ "xtype" : "ColumnModel",
+ "header" : "Scmtype",
+ "width" : 70,
+ "$ renderer" : "function(v) { return String.format('{0}', v); }",
+ "$ xns" : "Roo.grid",
+ "* prop" : "colModel[]",
+ "dataIndex" : "scmtype"
+ },
+ {
+ "xtype" : "ColumnModel",
+ "header" : "Repopath",
+ "width" : 100,
+ "$ renderer" : "function(v) { return String.format('{0}', v); }",
+ "$ xns" : "Roo.grid",
+ "* prop" : "colModel[]",
+ "dataIndex" : "repopath"
+ },
+ {
+ "xtype" : "ColumnModel",
+ "width" : 200,
+ "header" : "Description",
+ "$ renderer" : "function(v) { return String.format('{0}', v); }",
+ "$ xns" : "Roo.grid",
+ "* prop" : "colModel[]",
+ "dataIndex" : "description"
+ },
+ {
+ "xtype" : "ColumnModel",
+ "header" : "Parent",
+ "width" : 100,
+ "$ renderer" : "function(v) { return String.format('{0}', v); }",
+ "$ xns" : "Roo.grid",
+ "* prop" : "colModel[]",
+ "dataIndex" : "parent"
+ }
+ ]
+ }
+ ]
+ }
+ ]
}
\ No newline at end of file
// Auto generated file - created by app.Builder.js- do not edit directly (at present!)
+Roo.namespace('Pman.Tab');
+Pman.Tab.MTrackRepos = new Roo.XComponent({
-// register the module first
-Pman.on('beforeload', function()
-{
- Pman.register({
- modKey : '001-Pman.Tab.MTrackRepos',
- module : Pman.Tab.MTrackRepos,
- region : 'center',
- parent : Pman.Tab.MTrack,
- name : "Pman.Tab.MTrackRepos",
- disabled : false,
- permname: ''
- });
-});
-
-Pman.Tab.MTrackRepos = new Roo.util.Observable({
-
- panel : false,
- disabled : false,
- parentLayout: false,
-
- add : function(parentLayout, region)
- {
-
- var _this = this;
- this.parentLayout = parentLayout;
-
- this.panel = parentLayout.addxtype({
- xtype: 'GridPanel',
- xns: Roo,
- listeners : {
- activate : function() {
- _this.panel = this;
- if (_this.grid) {
- _this.grid.footer.onClick('first');
- }
- }
- },
- background : true,
- fitContainer : true,
- fitToframe : true,
- region : 'center',
- tableName : 'mtrack_repos',
- title : "Repositories",
- grid : {
- xtype: 'Grid',
- xns: Roo.grid,
- listeners : {
- render : function()
- {
- _this.grid = this;
- _this.dialog = Pman.Dialog.MTrackRepos;
- if (_this.panel.active) {
- this.footer.onClick('first');
- }
- },
- rowdblclick : function (_self, rowIndex, e)
- {
- if (!_this.dialog) return;
- _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {
- _this.grid.footer.onClick('first');
- });
- }
- },
- autoExpandColumn : 'shortname',
- loadMask : true,
- dataSource : {
- xtype: 'Store',
- xns: Roo.data,
- remoteSort : true,
- sortInfo : { field : 'shortname', direction: 'ASC' },
- proxy : {
- xtype: 'HttpProxy',
- xns: Roo.data,
- method : 'GET',
- url : baseURL + '/Roo/mtrack_repos.php'
- },
- reader : {
- xtype: 'JsonReader',
- xns: Roo.data,
- totalProperty : 'total',
- root : 'data',
- id : 'id',
- fields : [
- {
- 'name': 'id',
- 'type': 'int'
- },
- {
- 'name': 'shortname',
- 'type': 'string'
- },
- {
- 'name': 'scmtype',
- 'type': 'string'
- },
- {
- 'name': 'repopath',
- 'type': 'string'
- },
- {
- 'name': 'browserurl',
- 'type': 'string'
- },
- {
- 'name': 'browsertype',
- 'type': 'string'
- },
- {
- 'name': 'description',
- 'type': 'string'
- },
- {
- 'name': 'serverurl',
- 'type': 'string'
- },
- {
- 'name': 'parent',
- 'type': 'string'
- },
- {
- 'name': 'clonedfrom',
- 'type': 'int'
- },
- {
- 'name': 'project_id',
- 'type': 'int'
- }
- ]
- }
- },
- footer : {
- xtype: 'PagingToolbar',
- xns: Roo,
- pageSize : 25,
- displayInfo : true,
- displayMsg : 'Displaying mtrack_repos{0} - {1} of {2}',
- emptyMsg : 'No mtrack_repos found'
- },
- toolbar : {
- xtype: 'Toolbar',
- xns: Roo,
- items : [
- {
- xtype: 'Button',
- xns: Roo.Toolbar,
- listeners : {
- click : function()
- {
- if (!_this.dialog) return;
- _this.dialog.show( { id : 0 } , function() {
- _this.grid.footer.onClick('first');
- });
- }
- },
- cls : 'x-btn-text-icon',
- text : "Add",
- icon : Roo.rootURL + 'images/default/dd/drop-add.gif'
- },
- {
- xtype: 'Button',
- xns: Roo.Toolbar,
- listeners : {
- click : function()
- {
- var s = _this.grid.getSelectionModel().getSelections();
- if (!s.length || (s.length > 1)) {
- Roo.MessageBox.alert("Error", s.length ? "Select only one Row" : "Select a Row");
- return;
- }
- if (!_this.dialog) return;
- _this.dialog.show(s[0].data, function() {
- _this.grid.footer.onClick('reload');
- });
-
- }
- },
- cls : 'x-btn-text-icon',
- text : "Edit",
- icon : Roo.rootURL + 'images/default/tree/leaf.gif'
- }
- ]
- },
- colModel : [
- {
- xtype: 'ColumnModel',
- xns: Roo.grid,
- dataIndex : 'project_id_name',
- header : 'Project',
- width : 150,
- renderer : function(v) { return String.format('{0}', v); }
- },
- {
- xtype: 'ColumnModel',
- xns: Roo.grid,
- header : 'Shortname',
- width : 200,
- dataIndex : 'shortname',
- renderer : function(v) { return String.format('{0}', v); }
- },
- {
- xtype: 'ColumnModel',
- xns: Roo.grid,
- dataIndex : 'scmtype',
- header : 'Scmtype',
- width : 70,
- renderer : function(v) { return String.format('{0}', v); }
- },
- {
- xtype: 'ColumnModel',
- xns: Roo.grid,
- dataIndex : 'repopath',
- header : 'Repopath',
- width : 100,
- renderer : function(v) { return String.format('{0}', v); }
- },
- {
- xtype: 'ColumnModel',
- xns: Roo.grid,
- header : 'Description',
- width : 200,
- dataIndex : 'description',
- renderer : function(v) { return String.format('{0}', v); }
- },
- {
- xtype: 'ColumnModel',
- xns: Roo.grid,
- dataIndex : 'parent',
- header : 'Parent',
- width : 100,
- renderer : function(v) { return String.format('{0}', v); }
- }
- ]
- }
- });
- this.layout = this.panel.layout;
+ _strings : {
+ 'ec211f7c20af43e742bf2570c3cb84f9' :"Add",
+ '9e727fdd3aec8274f46685441900280d' :"Project",
+ '7dce122004969d56ae2e0245cb754d35' :"Edit",
+ '73cdcee8881d309dd256134f98347769' :"Repopath",
+ '30269022e9d8f51beaabb52e5d0de2b7' :"Parent",
+ 'de1f88f6f7789baf4d35f2919f100fc3' :"Repositories",
+ '97ec8018c492164da252cbaf95f0fa98' :"Shortname",
+ 'a4cf31f8bea7da20524198fbe5c0db2a' :"No mtrack_repos found",
+ 'f1c61eb7938469f5aa08964c8b2be862' :"Scmtype",
+ 'b5a7adde1af5c87d7fd797b6245c2a39' :"Description",
+ '6c47888cc8867737f167632508b2f58b' :"Displaying mtrack_repos{0} - {1} of {2}"
+ },
- }
+ part : ["MTrack", "Repos" ],
+ order : '001-Pman.Tab.MTrackRepos',
+ region : 'center',
+ parent : 'Pman.Tab.MTrack',
+ name : "Pman.Tab.MTrackRepos",
+ disabled : false,
+ permname : '',
+ _tree : function(_data)
+ {
+ var _this = this;
+ var MODULE = this;
+ return {
+ xtype : 'GridPanel',
+ background : true,
+ fitContainer : true,
+ fitToframe : true,
+ region : 'center',
+ tableName : 'mtrack_repos',
+ title : _this._strings['de1f88f6f7789baf4d35f2919f100fc3'] /* Repositories */,
+ listeners : {
+ activate : function() {
+ _this.panel = this;
+ if (_this.grid) {
+ _this.grid.footer.onClick('first');
+ }
+ }
+ },
+ xns : Roo,
+ '|xns' : 'Roo',
+ grid : {
+ xtype : 'Grid',
+ autoExpandColumn : 'shortname',
+ loadMask : true,
+ listeners : {
+ render : function()
+ {
+ _this.grid = this;
+ _this.dialog = Pman.Dialog.MTrackRepos;
+ if (_this.panel.active) {
+ this.footer.onClick('first');
+ }
+ },
+ rowdblclick : function (_self, rowIndex, e)
+ {
+ if (!_this.dialog) { return; }
+ _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {
+ _this.grid.footer.onClick('first');
+ });
+ }
+ },
+ xns : Roo.grid,
+ '|xns' : 'Roo.grid',
+ footer : {
+ xtype : 'PagingToolbar',
+ displayInfo : true,
+ displayMsg : _this._strings['6c47888cc8867737f167632508b2f58b'] /* Displaying mtrack_repos{0} - {1} of {2} */,
+ emptyMsg : _this._strings['a4cf31f8bea7da20524198fbe5c0db2a'] /* No mtrack_repos found */,
+ pageSize : 25,
+ xns : Roo,
+ '|xns' : 'Roo'
+ },
+ toolbar : {
+ xtype : 'Toolbar',
+ xns : Roo,
+ '|xns' : 'Roo',
+ items : [
+ {
+ xtype : 'Button',
+ cls : 'x-btn-text-icon',
+ icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
+ text : _this._strings['ec211f7c20af43e742bf2570c3cb84f9'] /* Add */,
+ listeners : {
+ click : function()
+ {
+ if (!_this.dialog) return;
+ _this.dialog.show( { id : 0 } , function() {
+ _this.grid.footer.onClick('first');
+ });
+ }
+ },
+ xns : Roo.Toolbar,
+ '|xns' : 'Roo.Toolbar'
+ },
+ {
+ xtype : 'Button',
+ cls : 'x-btn-text-icon',
+ icon : Roo.rootURL + 'images/default/tree/leaf.gif',
+ text : _this._strings['7dce122004969d56ae2e0245cb754d35'] /* Edit */,
+ listeners : {
+ click : function()
+ {
+ var s = _this.grid.getSelectionModel().getSelections();
+ if (!s.length || (s.length > 1)) {
+ Roo.MessageBox.alert("Error", s.length ? "Select only one Row" : "Select a Row");
+ return;
+ }
+ if (!_this.dialog) return;
+ _this.dialog.show(s[0].data, function() {
+ _this.grid.footer.onClick('reload');
+ });
+
+ }
+ },
+ xns : Roo.Toolbar,
+ '|xns' : 'Roo.Toolbar'
+ }
+ ]
+ },
+ dataSource : {
+ xtype : 'Store',
+ remoteSort : true,
+ sortInfo : { field : 'shortname', direction: 'ASC' },
+ xns : Roo.data,
+ '|xns' : 'Roo.data',
+ proxy : {
+ xtype : 'HttpProxy',
+ method : 'GET',
+ url : baseURL + '/Roo/mtrack_repos.php',
+ xns : Roo.data,
+ '|xns' : 'Roo.data'
+ },
+ reader : {
+ xtype : 'JsonReader',
+ fields : [
+ {
+ 'name': 'id',
+ 'type': 'int'
+ },
+ {
+ 'name': 'shortname',
+ 'type': 'string'
+ },
+ {
+ 'name': 'scmtype',
+ 'type': 'string'
+ },
+ {
+ 'name': 'repopath',
+ 'type': 'string'
+ },
+ {
+ 'name': 'browserurl',
+ 'type': 'string'
+ },
+ {
+ 'name': 'browsertype',
+ 'type': 'string'
+ },
+ {
+ 'name': 'description',
+ 'type': 'string'
+ },
+ {
+ 'name': 'serverurl',
+ 'type': 'string'
+ },
+ {
+ 'name': 'parent',
+ 'type': 'string'
+ },
+ {
+ 'name': 'clonedfrom',
+ 'type': 'int'
+ },
+ {
+ 'name': 'project_id',
+ 'type': 'int'
+ }
+ ],
+ id : 'id',
+ root : 'data',
+ totalProperty : 'total',
+ xns : Roo.data,
+ '|xns' : 'Roo.data'
+ }
+ },
+ colModel : [
+ {
+ xtype : 'ColumnModel',
+ dataIndex : 'project_id_name',
+ header : _this._strings['9e727fdd3aec8274f46685441900280d'] /* Project */,
+ renderer : function(v) { return String.format('{0}', v); },
+ width : 150,
+ xns : Roo.grid,
+ '|xns' : 'Roo.grid'
+ },
+ {
+ xtype : 'ColumnModel',
+ dataIndex : 'shortname',
+ header : _this._strings['97ec8018c492164da252cbaf95f0fa98'] /* Shortname */,
+ renderer : function(v) { return String.format('{0}', v); },
+ width : 200,
+ xns : Roo.grid,
+ '|xns' : 'Roo.grid'
+ },
+ {
+ xtype : 'ColumnModel',
+ dataIndex : 'scmtype',
+ header : _this._strings['f1c61eb7938469f5aa08964c8b2be862'] /* Scmtype */,
+ renderer : function(v) { return String.format('{0}', v); },
+ width : 70,
+ xns : Roo.grid,
+ '|xns' : 'Roo.grid'
+ },
+ {
+ xtype : 'ColumnModel',
+ dataIndex : 'repopath',
+ header : _this._strings['73cdcee8881d309dd256134f98347769'] /* Repopath */,
+ renderer : function(v) { return String.format('{0}', v); },
+ width : 100,
+ xns : Roo.grid,
+ '|xns' : 'Roo.grid'
+ },
+ {
+ xtype : 'ColumnModel',
+ dataIndex : 'description',
+ header : _this._strings['b5a7adde1af5c87d7fd797b6245c2a39'] /* Description */,
+ renderer : function(v) { return String.format('{0}', v); },
+ width : 200,
+ xns : Roo.grid,
+ '|xns' : 'Roo.grid'
+ },
+ {
+ xtype : 'ColumnModel',
+ dataIndex : 'parent',
+ header : _this._strings['30269022e9d8f51beaabb52e5d0de2b7'] /* Parent */,
+ renderer : function(v) { return String.format('{0}', v); },
+ width : 100,
+ xns : Roo.grid,
+ '|xns' : 'Roo.grid'
+ }
+ ]
+ }
+ }; }
});