Mohammed Shekha(Open ERP) has proposed merging 
lp:~openerp-dev/openobject-client-web/6.0-opw-574264-msh into 
lp:openobject-client-web.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-574264-msh/+merge/103974

Hello,

Fixed the issue of calendar view which does not show event title properly when 
there is more than one event on same day or same time, hence add the event 
title as a help title of the div so that user can see the event title on mouse 
hover.

To generate the issue create more than one meeting on same time and same day 
with more character on subject, you will see in week mode the subject will not 
properly shown which is obvious. Hence to show whole event title add event 
title as a div help title.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-574264-msh/+merge/103974
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-client-web/6.0-opw-574264-msh.
=== modified file 'addons/view_calendar/widgets/templates/day.mako'
--- addons/view_calendar/widgets/templates/day.mako	2010-12-16 07:23:41 +0000
+++ addons/view_calendar/widgets/templates/day.mako	2012-04-28 10:07:23 +0000
@@ -53,7 +53,7 @@
                                         nDaySpan="${evt.dayspan}" 
                                         dtStart="${str(evt.starts)}" 
                                         dtEnd="${str(evt.ends)}" 
-                                        title="${evt.description}"
+                                        title="${evt.title}"
                                         nCreationDate="${evt.create_date}"
                                         nCreationId="${evt.create_uid}"
                                         nWriteDate="${evt.write_date}"
@@ -73,11 +73,12 @@
                             nCreationDate="${evt.create_date}"
                             nCreationId="${evt.create_uid}"
                             nWriteDate="${evt.write_date}"
-                            nWriteId="${evt.write_uid}" 
+                            nWriteId="${evt.write_uid}"
+                            title="${evt.title}" 
                             style="background-color: ${evt.color}" 
                             class="calEvent noAllDay ${evt.classes}">
                            <div style="height: 10px;" class="calEventTitle">${evt.starts.strftime('%I:%M %P')} - ${evt.title}</div>
-                           <div class="calEventDesc">${evt.description}</div>
+                           <div class="calEventDesc">${evt.title}</div>
                            <div class="calEventGrip"></div>
                         </div>
                             % endif

=== modified file 'addons/view_calendar/widgets/templates/week.mako'
--- addons/view_calendar/widgets/templates/week.mako	2010-12-16 07:23:41 +0000
+++ addons/view_calendar/widgets/templates/week.mako	2012-04-28 10:07:23 +0000
@@ -51,7 +51,7 @@
                                     nDaySpan="${evt.dayspan}"
                                     dtStart="${str(evt.starts)}"
                                     dtEnd="${str(evt.ends)}"
-                                    title="${evt.description}"
+                                    title="${evt.title}"
                                     nCreationDate="${evt.create_date}"
                                     nCreationId="${evt.create_uid}"
                                     nWriteDate="${evt.write_date}"
@@ -71,10 +71,11 @@
                             nCreationId="${evt.create_uid}"
                             nWriteDate="${evt.write_date}"
                             nWriteId="${evt.write_uid}"
+                            title="${evt.title}"
                             style="background-color: ${evt.color};"
                             class="calEvent noAllDay ${evt.classes}">
                            <div style="height: 10px;" class="calEventTitle">${evt.starts.strftime('%H:%M')} - ${evt.title}</div>
-                           <div class="calEventDesc">${evt.description}</div>
+                           <div class="calEventDesc">${evt.title}</div>
                            <div class="calEventGrip"></div>
                         </div>
                             % endif

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to