2 "name" : "Pman.Tab.MTrackRepos",
3 "parent" : "Pman.Tab.MTrack",
4 "title" : "Pman.Tab.MTrackRepos",
5 "path" : "/home/alan/gitlive/Pman.MTrack/Pman.Tab.MTrackRepos.bjs",
9 "ec211f7c20af43e742bf2570c3cb84f9" : "Add",
10 "9e727fdd3aec8274f46685441900280d" : "Project",
11 "7dce122004969d56ae2e0245cb754d35" : "Edit",
12 "73cdcee8881d309dd256134f98347769" : "Repopath",
13 "30269022e9d8f51beaabb52e5d0de2b7" : "Parent",
14 "de1f88f6f7789baf4d35f2919f100fc3" : "Repositories",
15 "97ec8018c492164da252cbaf95f0fa98" : "Shortname",
16 "a4cf31f8bea7da20524198fbe5c0db2a" : "No mtrack_repos found",
17 "f1c61eb7938469f5aa08964c8b2be862" : "Scmtype",
18 "b5a7adde1af5c87d7fd797b6245c2a39" : "Description",
19 "6c47888cc8867737f167632508b2f58b" : "Displaying mtrack_repos{0} - {1} of {2}"
24 "|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
29 "title" : "Repositories",
30 "xtype" : "GridPanel",
31 "fitContainer" : true,
33 "tableName" : "mtrack_repos",
37 "|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",
38 "|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}"
40 "autoExpandColumn" : "shortname",
49 "$ sortInfo" : "{ field : 'shortname', direction: 'ASC' }",
51 "* prop" : "dataSource",
54 "$ url" : "baseURL + '/Roo/mtrack_repos.php'",
56 "xtype" : "HttpProxy",
63 "xtype" : "JsonReader",
65 "$ 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]",
67 "totalProperty" : "total"
73 "xtype" : "PagingToolbar",
74 "emptyMsg" : "No mtrack_repos found",
77 "displayMsg" : "Displaying mtrack_repos{0} - {1} of {2}",
87 "|click" : "function()\n{\n if (!_this.dialog) { return; }\n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
91 "cls" : "x-btn-text-icon",
92 "$ icon" : "Roo.rootURL + 'images/default/dd/drop-add.gif'",
93 "$ xns" : "Roo.Toolbar"
97 "|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"
101 "cls" : "x-btn-text-icon",
102 "$ icon" : "Roo.rootURL + 'images/default/tree/leaf.gif'",
103 "$ xns" : "Roo.Toolbar"
108 "xtype" : "ColumnModel",
109 "header" : "Project",
111 "$ renderer" : "function(v) { return String.format('{0}', v); }",
112 "$ xns" : "Roo.grid",
113 "* prop" : "colModel[]",
114 "dataIndex" : "project_id_name"
117 "xtype" : "ColumnModel",
119 "header" : "Shortname",
120 "$ renderer" : "function(v) { return String.format('{0}', v); }",
121 "$ xns" : "Roo.grid",
122 "* prop" : "colModel[]",
123 "dataIndex" : "shortname"
126 "xtype" : "ColumnModel",
127 "header" : "Scmtype",
129 "$ renderer" : "function(v) { return String.format('{0}', v); }",
130 "$ xns" : "Roo.grid",
131 "* prop" : "colModel[]",
132 "dataIndex" : "scmtype"
135 "xtype" : "ColumnModel",
136 "header" : "Repopath",
138 "$ renderer" : "function(v) { return String.format('{0}', v); }",
139 "$ xns" : "Roo.grid",
140 "* prop" : "colModel[]",
141 "dataIndex" : "repopath"
144 "xtype" : "ColumnModel",
146 "header" : "Description",
147 "$ renderer" : "function(v) { return String.format('{0}', v); }",
148 "$ xns" : "Roo.grid",
149 "* prop" : "colModel[]",
150 "dataIndex" : "description"
153 "xtype" : "ColumnModel",
156 "$ renderer" : "function(v) { return String.format('{0}', v); }",
157 "$ xns" : "Roo.grid",
158 "* prop" : "colModel[]",
159 "dataIndex" : "parent"