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:
@@ -443,7 +443,7 @@ module.controller('TagDetailsCtrl', ['$scope', '$state', '$stateParams', 'FeedSe
|
||||
function($scope, $state, $stateParams, FeedService, CategoryService, ProfileService, $dialog) {
|
||||
$scope.CategoryService = CategoryService;
|
||||
$scope.user = ProfileService.get();
|
||||
|
||||
|
||||
$scope.tag = $stateParams._id;
|
||||
|
||||
$scope.back = function() {
|
||||
@@ -1307,6 +1307,30 @@ module.controller('ManageUsersCtrl', ['$scope', '$state', '$location', 'AdminUse
|
||||
multiSelect : false,
|
||||
showColumnMenu : 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) {
|
||||
$state.transitionTo('admin.useredit', {
|
||||
|
||||
Reference in New Issue
Block a user