mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-16 18:26:16 +01:00
added properties to user, repository and group store
This commit is contained in:
@@ -47,7 +47,7 @@ Sonia.group.Grid = Ext.extend(Sonia.rest.Grid, {
|
|||||||
disableCaching: false
|
disableCaching: false
|
||||||
}),
|
}),
|
||||||
id: 'name',
|
id: 'name',
|
||||||
fields: [ 'name', 'members', 'description', 'creationDate', 'type'],
|
fields: [ 'name', 'members', 'description', 'creationDate', 'type', 'properties'],
|
||||||
sortInfo: {
|
sortInfo: {
|
||||||
field: 'name'
|
field: 'name'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,12 +43,12 @@ Sonia.repository.Grid = Ext.extend(Sonia.rest.Grid, {
|
|||||||
initComponent: function(){
|
initComponent: function(){
|
||||||
|
|
||||||
var repositoryStore = new Sonia.rest.JsonStore({
|
var repositoryStore = new Sonia.rest.JsonStore({
|
||||||
id: 'id',
|
|
||||||
proxy: new Ext.data.HttpProxy({
|
proxy: new Ext.data.HttpProxy({
|
||||||
url: restUrl + 'repositories.json',
|
url: restUrl + 'repositories.json',
|
||||||
disableCaching: false
|
disableCaching: false
|
||||||
}),
|
}),
|
||||||
fields: [ 'id', 'name', 'type', 'contact', 'description', 'creationDate', 'url', 'public', 'permissions' ],
|
id: 'id',
|
||||||
|
fields: [ 'id', 'name', 'type', 'contact', 'description', 'creationDate', 'url', 'public', 'permissions', 'properties' ],
|
||||||
sortInfo: {
|
sortInfo: {
|
||||||
field: 'name'
|
field: 'name'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ Sonia.user.Grid = Ext.extend(Sonia.rest.Grid, {
|
|||||||
disableCaching: false
|
disableCaching: false
|
||||||
}),
|
}),
|
||||||
id: 'name',
|
id: 'name',
|
||||||
fields: [ 'name', 'displayName', 'mail', 'admin', 'creationDate', 'lastModified', 'type'],
|
fields: [ 'name', 'displayName', 'mail', 'admin', 'creationDate', 'lastModified', 'type', 'properties'],
|
||||||
sortInfo: {
|
sortInfo: {
|
||||||
field: 'name'
|
field: 'name'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user