Depends on tbabej's patches # 137, 140 and pvoborni's 546 and 531-541.

https://fedorahosted.org/freeipa/ticket/3369
--
Petr Vobornik
From 7a9d5636978b77a6e1119bc7e5724a811fcbf669 Mon Sep 17 00:00:00 2001
From: Petr Vobornik <pvobo...@redhat.com>
Date: Wed, 15 Jan 2014 14:19:41 +0100
Subject: [PATCH] webui: change ipatokennotbefore and ipatokennotafter types to
 datetime

https://fedorahosted.org/freeipa/ticket/3369
---
 install/ui/src/freeipa/otptoken.js | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/install/ui/src/freeipa/otptoken.js b/install/ui/src/freeipa/otptoken.js
index 1e04b62416d43310feeec99a40eb4907ba24cf4a..dbebeb94046726e9e5971d839e75c157fff18960 100644
--- a/install/ui/src/freeipa/otptoken.js
+++ b/install/ui/src/freeipa/otptoken.js
@@ -174,8 +174,14 @@ return {
                             name: 'description'
                         },
                         'ipatokenowner',
-                        'ipatokennotbefore',
-                        'ipatokennotafter',
+                        {
+                            $type: 'datetime',
+                            name: 'ipatokennotbefore'
+                        },
+                        {
+                            $type: 'datetime',
+                            name: 'ipatokennotafter'
+                        },
                         'ipatokenvendor',
                         'ipatokenmodel',
                         'ipatokenserial',
@@ -219,8 +225,14 @@ return {
                 other_entity: 'user',
                 other_field: 'uid'
             },
-            'ipatokennotbefore',
-            'ipatokennotafter',
+            {
+                $type: 'datetime',
+                name: 'ipatokennotbefore'
+            },
+            {
+                $type: 'datetime',
+                name: 'ipatokennotafter'
+            },
             'ipatokenvendor',
             'ipatokenmodel',
             'ipatokenserial',
-- 
1.8.5.3

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to