forked from Archives/Athou_commafeed
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) {
|
function($scope, $state, $stateParams, FeedService, CategoryService, ProfileService, $dialog) {
|
||||||
$scope.CategoryService = CategoryService;
|
$scope.CategoryService = CategoryService;
|
||||||
$scope.user = ProfileService.get();
|
$scope.user = ProfileService.get();
|
||||||
|
|
||||||
$scope.tag = $stateParams._id;
|
$scope.tag = $stateParams._id;
|
||||||
|
|
||||||
$scope.back = function() {
|
$scope.back = function() {
|
||||||
@@ -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