Commit 0d4780e1 authored by Gabriel Monnerat's avatar Gabriel Monnerat

fix css and don't call DateTime functions when date is None

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44595 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4084ac1c
......@@ -57,6 +57,8 @@
XXX - check if it is possible with DateField\n
"""\n
date = context.getStartDate()\n
if not date:\n
return None\n
if date.isCurrentDay():\n
return date.AMPMMinutes()\n
else:\n
......
......@@ -167,7 +167,11 @@ a.email {\n
}\n
\n
div.header-left {\n
margin-top: -9px !important;\n
margin-top: -9px !important;\n
}\n
\n
div.listbox-tree {\n
display: none !important;\n
}</string> </value>
</item>
<item>
......
324
\ No newline at end of file
325
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment