diff --git a/addons/calendar/calendar_data.xml b/addons/calendar/calendar_data.xml index 4426014e509..9171bc435e0 100644 --- a/addons/calendar/calendar_data.xml +++ b/addons/calendar/calendar_data.xml @@ -151,50 +151,58 @@
|
-
- Where
-
- |
-
-
- : ${object.event_id.location}
- (View Map)
-
-
+ % if object.event_id.location:
+
+ Where
+
+ % endif
|
+
+ % if object.event_id.location:
+
+ : ${object.event_id.location}
+ (View Map)
+
+
+ % endif
+ |
||
|
-
- What
-
+ % if object.event_id.description :
+
+ What
+
+ % endif
|
-
-
- : ${object.event_id.description}
-
+ |
+ % if object.event_id.description :
+
+ : ${object.event_id.description}
+
+ % endif
|
||
|
-
- Duration
-
+ % if not object.event_id.allday and object.event_id.duration:
+
+ Duration
+
+ % endif
|
-
- : ${('%dH%02d' % (object.event_id.duration,(object.event_id.duration*60)%60))}
-
+ % if not object.event_id.allday and object.event_id.duration:
+
+ : ${('%dH%02d' % (object.event_id.duration,(object.event_id.duration*60)%60))}
+
+ % endif
|
- |||
|
@@ -219,9 +227,9 @@
| ||||