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 @@ - % if object.event_id.location: - + - + - % endif - % if object.event_id.description : - + + - - % endif - % if not object.event_id.allday and object.event_id.duration: - + + - - % endif +
-
- 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 @@
- Accept - Decline - View + Accept + Decline + View
@@ -265,7 +273,7 @@
- + -
${object.event_id.get_interval(object.event_id.date, 'dayname')}
@@ -276,50 +284,58 @@
- % if object.event_id.location: - + - + - % endif - % if object.event_id.description : - + + - - % endif - % if not object.event_id.allday and object.event_id.duration: - + + - - % endif +
-
- 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
@@ -341,12 +357,12 @@
+
- Accept - Decline - View + Accept + Decline + View
@@ -400,50 +416,58 @@ - % if object.event_id.location: - + - + - % endif - % if object.event_id.description : - + + - - % endif - % if not object.event_id.allday and object.event_id.duration: - + + - - % endif +
-
- 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