diff templates/classic/html/user.item.html @ 2268:f9200f897369 maint-0.7

fix user creation page
author Richard Jones <richard@users.sourceforge.net>
date Thu, 06 May 2004 23:23:20 +0000
parents 9db7d2842222
children 97f810f39d16
line wrap: on
line diff
--- a/templates/classic/html/user.item.html	Thu May 06 23:06:01 2004 +0000
+++ b/templates/classic/html/user.item.html	Thu May 06 23:23:20 2004 +0000
@@ -54,14 +54,10 @@
  </tr>
  <tr>
   <th>Timezone</th>
-  <td tal:define="timezone request/form/timezone/value | python:'';
-      timezone python:timezone
-      or db._db.user.get(context.id, 'timezone')
-      or config.DEFAULT_TIMEZONE">
-  <input tal:condition="context/is_edit_ok" name="timezone"
-      tal:attributes="value timezone">
-  <span tal:condition="context/is_only_view_ok" tal:content="timezone" />
-   (this is a numeric hour offset)
+  <td>
+   <input tal:replace="structure context/timezone/field">
+   (this is a numeric hour offset, the default is
+   <span tal:replace="db/config/DEFAULT_TIMEZONE" />)
   </td>
  </tr>
  <tr>

Roundup Issue Tracker: http://roundup-tracker.org/