mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-21 19:41:36 +01:00
added active checkbox to grid
This commit is contained in:
@@ -37,6 +37,7 @@ Sonia.user.Grid = Ext.extend(Sonia.rest.Grid, {
|
||||
colDisplayNameText: 'Display Name',
|
||||
colMailText: 'Mail',
|
||||
colAdminText: 'Admin',
|
||||
colActiveText: 'Active',
|
||||
colCreationDateText: 'Creation Date',
|
||||
colLastModifiedText: 'Last modified',
|
||||
colTypeText: 'Type',
|
||||
@@ -69,6 +70,7 @@ Sonia.user.Grid = Ext.extend(Sonia.rest.Grid, {
|
||||
{id: 'displayName', header: this.colDisplayNameText, dataIndex: 'displayName', width: 250},
|
||||
{id: 'mail', header: this.colMailText, dataIndex: 'mail', renderer: this.renderMailto, width: 200},
|
||||
{id: 'admin', header: this.colAdminText, dataIndex: 'admin', renderer: this.renderCheckbox, width: 50},
|
||||
{id: 'active', header: this.colActiveText, dataIndex: 'active', renderer: this.renderCheckbox, width: 50},
|
||||
{id: 'creationDate', header: this.colCreationDateText, dataIndex: 'creationDate', renderer: Ext.util.Format.formatTimestamp},
|
||||
{id: 'lastModified', header: this.colLastModifiedText, dataIndex: 'lastModified', renderer: Ext.util.Format.formatTimestamp},
|
||||
{id: 'type', header: this.colTypeText, dataIndex: 'type', width: 80}
|
||||
|
||||
Reference in New Issue
Block a user