mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 09:25:43 +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
|
||||
}),
|
||||
id: 'name',
|
||||
fields: [ 'name', 'members', 'description', 'creationDate', 'type'],
|
||||
fields: [ 'name', 'members', 'description', 'creationDate', 'type', 'properties'],
|
||||
sortInfo: {
|
||||
field: 'name'
|
||||
}
|
||||
|
||||
@@ -43,12 +43,12 @@ Sonia.repository.Grid = Ext.extend(Sonia.rest.Grid, {
|
||||
initComponent: function(){
|
||||
|
||||
var repositoryStore = new Sonia.rest.JsonStore({
|
||||
id: 'id',
|
||||
proxy: new Ext.data.HttpProxy({
|
||||
url: restUrl + 'repositories.json',
|
||||
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: {
|
||||
field: 'name'
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ Sonia.user.Grid = Ext.extend(Sonia.rest.Grid, {
|
||||
disableCaching: false
|
||||
}),
|
||||
id: 'name',
|
||||
fields: [ 'name', 'displayName', 'mail', 'admin', 'creationDate', 'lastModified', 'type'],
|
||||
fields: [ 'name', 'displayName', 'mail', 'admin', 'creationDate', 'lastModified', 'type', 'properties'],
|
||||
sortInfo: {
|
||||
field: 'name'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user