mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
grid dates formatting (fix #421)
This commit is contained in:
@@ -1307,6 +1307,30 @@ module.controller('ManageUsersCtrl', ['$scope', '$state', '$location', 'AdminUse
|
|||||||
multiSelect : false,
|
multiSelect : false,
|
||||||
showColumnMenu : true,
|
showColumnMenu : true,
|
||||||
showFilter : true,
|
showFilter : true,
|
||||||
|
columnDefs : [{
|
||||||
|
field : 'id',
|
||||||
|
displayName : 'ID'
|
||||||
|
}, {
|
||||||
|
field : 'name',
|
||||||
|
displayName : 'Name'
|
||||||
|
}, {
|
||||||
|
field : 'email',
|
||||||
|
cellClass : 'E-Mail'
|
||||||
|
}, {
|
||||||
|
field : 'created',
|
||||||
|
cellClass : 'Created',
|
||||||
|
cellFilter : 'entryDate'
|
||||||
|
}, {
|
||||||
|
field : 'lastLogin',
|
||||||
|
cellClass : 'Last login',
|
||||||
|
cellFilter : 'entryDate'
|
||||||
|
}, {
|
||||||
|
field : 'admin',
|
||||||
|
cellClass : 'Admin'
|
||||||
|
}, {
|
||||||
|
field : 'enabled',
|
||||||
|
cellClass : 'Enabled'
|
||||||
|
}],
|
||||||
|
|
||||||
afterSelectionChange : function(item) {
|
afterSelectionChange : function(item) {
|
||||||
$state.transitionTo('admin.useredit', {
|
$state.transitionTo('admin.useredit', {
|
||||||
|
|||||||
Reference in New Issue
Block a user