summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/user.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/src/freeipa/user.js')
-rw-r--r--install/ui/src/freeipa/user.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js
index 4fd4a7804..6d9c0c2d1 100644
--- a/install/ui/src/freeipa/user.js
+++ b/install/ui/src/freeipa/user.js
@@ -45,9 +45,10 @@ IPA.user.entity = function(spec) {
{
name: 'nsaccountlock',
label: '@i18n:status.label',
- formatter: IPA.boolean_status_formatter({
+ formatter: {
+ $type: 'boolean_status',
invert_value: true
- })
+ }
},
'uidnumber',
'mail',
@@ -111,7 +112,7 @@ IPA.user.entity = function(spec) {
name: 'krbpasswordexpiration',
label: '@i18n:objects.user.krbpasswordexpiration',
read_only: true,
- formatter: IPA.utc_date_formatter()
+ formatter: 'utc_date'
},
'uidnumber',
'gidnumber',