From 7e7f6191ed547eedadace05cee0d40580bec0198 Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Sat, 26 May 2012 10:47:12 +0200 Subject: [PATCH] added active checkbox to grid --- scm-webapp/src/main/webapp/resources/js/user/sonia.user.grid.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scm-webapp/src/main/webapp/resources/js/user/sonia.user.grid.js b/scm-webapp/src/main/webapp/resources/js/user/sonia.user.grid.js index 5524ae0095..a4e7b669c2 100644 --- a/scm-webapp/src/main/webapp/resources/js/user/sonia.user.grid.js +++ b/scm-webapp/src/main/webapp/resources/js/user/sonia.user.grid.js @@ -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}