On 25.2.2014 18:10, Petr Vobornik wrote:
Depends on tbabej's patches # 137, 140 and pvoborni's 546 and 531-541.

https://fedorahosted.org/freeipa/ticket/3369



Attaching rebased patch.
--
Petr Vobornik
From 5e3b639f5f7edd6d4539951e448e13666dc19795 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 ae6c47c4634c86a6b0c55e5306f4525c48a47512..9c4ec6b9e7a15e542f55475d24a1c090860a35fc 100644
--- a/install/ui/src/freeipa/otptoken.js
+++ b/install/ui/src/freeipa/otptoken.js
@@ -179,8 +179,14 @@ return {
                             other_entity: 'user',
                             other_field: 'uid'
                         },
-                        'ipatokennotbefore',
-                        'ipatokennotafter',
+                        {
+                            $type: 'datetime',
+                            name: 'ipatokennotbefore'
+                        },
+                        {
+                            $type: 'datetime',
+                            name: 'ipatokennotafter'
+                        },
                         'ipatokenvendor',
                         'ipatokenmodel',
                         'ipatokenserial',
@@ -224,8 +230,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