changeset 9163dcf323d1 in bugs.tryton.org:default
details: https://hg.tryton.org/bugs.tryton.org?cmd=changeset;node=9163dcf323d1
description:
        Always display timezone on user item
diffstat:

 html/user.item.html |  14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diffs (24 lines):

diff -r 119228563334 -r 9163dcf323d1 html/user.item.html
--- a/html/user.item.html       Thu Feb 04 18:08:21 2021 +0100
+++ b/html/user.item.html       Fri Mar 05 17:52:54 2021 +0100
@@ -85,14 +85,12 @@
             <input class="form-control"  type='text' name='organisation' 
value='{{ context.organisation.plain()|u }}'>
           </td>
         </tr>
-        {% if context.timezone %}
-          <tr>
-            <th>{% trans %}Timezone{% endtrans %}</th>
-            <td>
-              <input class="form-control"  type='text' name='timezone' 
value='{{ context.timezone.plain()|u }}'>
-            </td>
-          </tr>
-        {% endif %}
+        <tr>
+          <th>{% trans %}Timezone{% endtrans %}</th>
+          <td>
+            <input class="form-control"  type='text' name='timezone' value='{{ 
context.timezone.plain()|u }}'>
+          </td>
+        </tr>
         <tr>
             <th>{% trans %}New Issue Copy{% endtrans %}</th>
             <td class="form-inline">

Reply via email to