From e5088771e72a1f8a12636fe620b627b42ac23177 Mon Sep 17 00:00:00 2001 From: Gaetan Delannay Date: Fri, 20 Mar 2015 18:14:22 +0100 Subject: [PATCH] [gen] Bugfix. --- fields/calendar.py | 16 ++++++++-------- gen/ui/appy.css | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/fields/calendar.py b/fields/calendar.py index 8b768d4..68e0d35 100644 --- a/fields/calendar.py +++ b/fields/calendar.py @@ -201,25 +201,25 @@ class Calendar(Field): # For timeline rendering, the row displaying month names pxTimeLineMonths = Px(''' - + ::mInfo.month - + ''') # For timeline rendering, the row displaying day letters pxTimelineDayLetters = Px(''' - + :namesOfDays[date.aDay()].name[0] - + ''') # For timeline rendering, the row displaying day numbers pxTimelineDayNumbers = Px(''' - + :str(date.day()).zfill(2) - + ''') # Legend for a timeline calendar @@ -270,7 +270,7 @@ class Calendar(Field): var="totals=field.computeTotals('col', zobj, grid, others, \ preComputed)"> -   +   @@ -296,7 +296,7 @@ class Calendar(Field): -   +   ''') diff --git a/gen/ui/appy.css b/gen/ui/appy.css index ababf39..a72c3df 100644 --- a/gen/ui/appy.css +++ b/gen/ui/appy.css @@ -142,6 +142,7 @@ td.search { padding-top: 8px } .no, .no td, .no th { border: 0 !important; padding: 0 !important; margin: 0 !important; background-color: transparent !important } +.hidden { visibility: hidden } .simpleLabel { text-transform: none } .translationLabel { background-color: #EAEAEA; border-bottom: 1px dashed grey; margin-top: 0.5em; margin-bottom: 0.5em }