diff options
| author | Julien (juc) Castiaux <juc@odoo.com> | 2018-10-10 11:51:33 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-10-10 17:36:36 +0200 |
| commit | e6580e59a310e51a05c84c978a240d6dfd9b53c9 (patch) | |
| tree | 6c70d7317890a8d34d91867e8bd799e01928f165 /addons | |
| parent | 7415f40fbd3a809602b83c78f2ad00e2d79e6b98 (diff) | |
[I18N] calendar: correct bad email template translation
Complement 4558ca95cd088
opw-1891825
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/calendar/i18n/fr.po | 297 |
1 files changed, 163 insertions, 134 deletions
diff --git a/addons/calendar/i18n/fr.po b/addons/calendar/i18n/fr.po index 7eaa8a73fc3..d3c94e8160d 100644 --- a/addons/calendar/i18n/fr.po +++ b/addons/calendar/i18n/fr.po @@ -302,73 +302,87 @@ msgid "" " </table>\n" "</div>" msgstr "" -"<div summary=\"o_mail_template\" " -"style=\"padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top " -"/100%;color:#777777\"><table cellspacing=\"0\" cellpadding=\"0\" " -"style=\"width:600px;border-" -"collapse:collapse;background:inherit;color:inherit\"><tbody><tr><td " -"valign=\"center\" width=\"200\" style=\"padding:10px 10px 10px 5px;font-" -"size: 12px\"><img src=\"/logo.png\" style=\"padding: 0px; margin: 0px; " -"height: auto; width: 80px;\" alt=\"${user.company_id.name}\"></td><td " -"valign=\"center\" align=\"right\" width=\"340\" style=\"padding:10px 10px " -"10px 5px; font-size: 12px;\"><p><a " -"href=\"/calendar/meeting/accept?db=${'dbname' in ctx and ctx['dbname'] or " -"''}&token=${object.access_token}&action=${'action_id' in ctx and " -"ctx['action_id'] or ''}&id=${object.event_id.id}\" style=\"padding: 5px " -"10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-" -"color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: " -"0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: " -"pointer; white-space: nowrap; background-image: none; background-color: " -"#875A7B; border: 1px solid #875A7B; border-radius:3px\"></a><a " -"href=\"/calendar/meeting/decline?db=${'dbname' in ctx and ctx['dbname'] or " -"'' }&token=${object.access_token}&action=${'action_id' in ctx and " -"ctx['action_id'] or ''}&id=${object.event_id.id}\" style=\"padding: 5px " -"10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-" -"color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: " -"0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: " -"pointer; white-space: nowrap; background-image: none; background-color: " -"#875A7B; border: 1px solid #875A7B; border-radius:3px\"></a><a " -"href=\"/calendar/meeting/view?db=${'dbname' in ctx and ctx['dbname'] or " -"''}&token=${object.access_token}&action=${'action_id' in ctx and " -"ctx['action_id'] or ''}&id=${object.event_id.id}\" style=\"padding: 5px " -"10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-" -"color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: " -"0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: " -"pointer; white-space: nowrap; background-image: none; background-color: " -"#875A7B; border: 1px solid #875A7B; border-" -"radius:3px\"></a></p></td></tr></tbody></table><table cellspacing=\"0\" " -"cellpadding=\"0\" style=\"width:600px;border-" -"collapse:collapse;background:inherit;color:inherit\"><tbody><tr><td " -"valign=\"top\" style=\"width:600px; padding:10px 10px 10px 5px;\"><div><hr " -"width=\"100%\" style=\"background-color:rgb(204,204,204);border:medium " -"none;clear:both;display:block;font-size:0px;min-height:1px;line-" -"height:0;margin:15px " -"auto;padding:0\"></div></td></tr></tbody></table></div><div " -"style=\"padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top " -"/100%;color:#777777\"><table cellspacing=\"0\" cellpadding=\"0\" " -"style=\"width:600px;border-" -"collapse:collapse;background:inherit;color:inherit\"><tbody><tr><td " -"style=\"padding:10px 10px 10px 5px;font-size: 14px;\"><p style=\"font-size: " -"20px; text-align: center;\"><strong></strong></p><p><strong></strong><br " -"/></p><table style=\"margin-top: 20px;\"><tr><td><div style=\"border-top-" -"left-radius:3px;border-top-right-radius:3px;font-size:12px;border-" -"collapse:separate;text-align:center;font-" -"weight:bold;color:#ffffff;width:130px;min-height: 18px;background:#875A7B" -";padding-top: 4px;border:1px solid #875A7B;\"></div><div style=\"font-" -"size:48px;min-height:auto;font-weight:bold;text-align:center;color: #5F5F5F" -";background-color: #F8F8F8;width: 130px;border:1px solid " -"#875A7B;\"></div><div style='font-size:12px;text-align:center;font-" -"weight:bold;color:#ffffff;background-color:#875A7B'></div><div style" -"=\"border-collapse:separate;color: #5F5F5F;text-align:center;width: 130px" -";font-size:12px;border-bottom-right-radius:3px;font-weight:bold;border:1px " -"solid #875A7B;border-bottom-left-radius:3px;\"></div></td><td " -"width=\"20px;\"/><td><p></p><ul><li><ul><li><div style=\"display:inline-" -"block; border-radius: 50%; width:10px; " -"height:10px;background:${colors[attendee.state] or 'white'};\"></div><span " -"style=\"margin-left:5px\"></span><span style=\"margin-" -"left:5px\"></span></li></ul></li></ul></td></tr></table></td></tr></tbody></table></div><li><a" -" target=\"_blank\" " -"href=\"http://maps.google.com/maps?oi=map&q=${object.event_id.location}\"></a></li><li></li><li></li>" +"\n" +"<div summary=\"o_mail_template\" style=\"padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top /100%;color:#777777\">\n" +"% set colors = {'needsAction': 'grey', 'accepted': 'green', 'tentative': '#FFFF00', 'declined': 'red'}\n" +" <table cellspacing=\"0\" cellpadding=\"0\" style=\"width:600px;border-collapse:collapse;background:inherit;color:inherit\">\n" +" <tbody><tr>\n" +" <td valign=\"center\" width=\"200\" style=\"padding:10px 10px 10px 5px;font-size: 12px\">\n" +" <img src=\"/logo.png\" style=\"padding: 0px; margin: 0px; height: auto; width: 80px;\" alt=\"${user.company_id.name}\">\n" +" </td>\n" +" <td valign=\"center\" align=\"right\" width=\"340\" style=\"padding:10px 10px 10px 5px; font-size: 12px;\">\n" +" <p>\n" +" <a href=\"/calendar/meeting/accept?db=${'dbname' in ctx and ctx['dbname'] or ''}&token=${object.access_token}&action=${'action_id' in ctx and ctx['action_id'] or ''}&id=${object.event_id.id}\" style=\"padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; background-image: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px\">Accepter</a>\n" +" <a href=\"/calendar/meeting/decline?db=${'dbname' in ctx and ctx['dbname'] or '' }&token=${object.access_token}&action=${'action_id' in ctx and ctx['action_id'] or ''}&id=${object.event_id.id}\" style=\"padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; background-image: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px\">Refuser</a>\n" +" <a href=\"/calendar/meeting/view?db=${'dbname' in ctx and ctx['dbname'] or ''}&token=${object.access_token}&action=${'action_id' in ctx and ctx['action_id'] or ''}&id=${object.event_id.id}\" style=\"padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; background-image: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px\">Voir</a>\n" +" </p>\n" +" </td>\n" +" </tr></tbody>\n" +" </table>\n" +" <table cellspacing=\"0\" cellpadding=\"0\" style=\"width:600px;border-collapse:collapse;background:inherit;color:inherit\">\n" +" <tbody><tr>\n" +" <td valign=\"top\" style=\"width:600px; padding:10px 10px 10px 5px;\">\n" +" <div>\n" +" <hr width=\"100%\" style=\"background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0;margin:15px auto;padding:0\">\n" +" </div>\n" +" </td>\n" +" </tr></tbody>\n" +" </table>\n" +"</div>\n" +"<div style=\"padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top /100%;color:#777777\">\n" +" <table cellspacing=\"0\" cellpadding=\"0\" style=\"width:600px;border-collapse:collapse;background:inherit;color:inherit\">\n" +" <tbody><tr>\n" +" <td style=\"padding:10px 10px 10px 5px;font-size: 14px;\">\n" +" <p style=\"font-size: 20px; text-align: center;\">Invitation à l'événement <strong>${object.event_id.name}</strong></p>\n" +" <p>\n" +" <strong>Cher/chère ${object.common_name}</strong>,<br />\n" +" ${object.event_id.user_id.partner_id.name} vous a invité(e) à la réunion ${object.event_id.name} de ${object.event_id.user_id.company_id.name}.</p>\n" +" <table style=\"margin-top: 20px;\"><tr>\n" +" <td>\n" +" <div style=\"border-top-left-radius:3px;border-top-right-radius:3px;font-size:12px;border-collapse:separate;text-align:center;font-weight:bold;color:#ffffff;width:130px;min-height: 18px;background:#875A7B;padding-top: 4px;border:1px solid #875A7B;\">\n" +" ${object.event_id.get_interval('dayname', tz=object.partner_id.tz if not object.event_id.allday else None)}\n" +" </div>\n" +" <div style=\"font-size:48px;min-height:auto;font-weight:bold;text-align:center;color: #5F5F5F;background-color: #F8F8F8;width: 130px;border:1px solid #875A7B;\">\n" +" ${object.event_id.get_interval('day', tz=object.partner_id.tz if not object.event_id.allday else None)}\n" +" </div>\n" +" <div style='font-size:12px;text-align:center;font-weight:bold;color:#ffffff;background-color:#875A7B'>${object.event_id.get_interval('month', tz=object.partner_id.tz if not object.event_id.allday else None)}</div>\n" +" <div style=\"border-collapse:separate;color: #5F5F5F;text-align:center;width: 130px;font-size:12px;border-bottom-right-radius:3px;font-weight:bold;border:1px solid #875A7B;border-bottom-left-radius:3px;\">${not object.event_id.allday and object.event_id.get_interval('time', tz=object.partner_id.tz) or ''}</div>\n" +" </td>\n" +" <td width=\"20px;\"/>\n" +" <td>\n" +" <p>Détails de l'événement</p>\n" +" <ul>\n" +" % if object.event_id.location:\n" +" <li>Lieu : ${object.event_id.location}\n" +" (<a target=\"_blank\" href=\"http://maps.google.com/maps?oi=map&q=${object.event_id.location}\">Afficher la carte</a>)\n" +" </li>\n" +" % endif\n" +" % if object.event_id.description :\n" +" <li>Description : ${object.event_id.description}</li>\n" +" % endif\n" +" % if not object.event_id.allday and object.event_id.duration\n" +" <li>Durée : ${('%dH%02d' % (object.event_id.duration,(object.event_id.duration*60)%60))}</li>\n" +" % endif\n" +" <li>Participants\n" +" <ul>\n" +" % for attendee in object.event_id.attendee_ids:\n" +" <li>\n" +" <div style=\"display:inline-block; border-radius: 50%; width:10px; height:10px;background:${colors[attendee.state] or 'white'};\"></div>\n" +" % if attendee.common_name != object.common_name:\n" +" <span style=\"margin-left:5px\">${attendee.common_name}</span>\n" +" % else:\n" +" <span style=\"margin-left:5px\">Vous</span>\n" +" % endif\n" +" </li>\n" +" % endfor\n" +" </ul></li>\n" +" </ul>\n" +" </td>\n" +" </tr></table>\n" +" </td>\n" +" </tr></tbody>\n" +" </table>\n" +"</div>" #. module: calendar #: model:mail.template,body_html:calendar.calendar_template_meeting_reminder @@ -456,73 +470,88 @@ msgid "" " </table>\n" "</div>" msgstr "" -"<div summary=\"o_mail_template\" " -"style=\"padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top " -"/100%;color:#777777\"><table cellspacing=\"0\" cellpadding=\"0\" " -"style=\"width:600px;border-" -"collapse:collapse;background:inherit;color:inherit\"><tbody><tr><td " -"valign=\"center\" width=\"200\" style=\"padding:10px 10px 10px 5px;font-" -"size: 12px\"><img src=\"/logo.png\" style=\"padding: 0px; margin: 0px; " -"height: auto; width: 80px;\" alt=\"${user.company_id.name}\"></td><td " -"valign=\"center\" align=\"right\" width=\"340\" style=\"padding:10px 10px " -"10px 5px; font-size: 12px;\"><p><a " -"href=\"/calendar/meeting/accept?db=${'dbname' in ctx and ctx['dbname'] or " -"''}&token=${object.access_token}&action=${'action_id' in ctx and " -"ctx['action_id'] or ''}&id=${object.event_id.id}\" style=\"padding: 5px " -"10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-" -"color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: " -"0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: " -"pointer; white-space: nowrap; background-image: none; background-color: " -"#875A7B; border: 1px solid #875A7B; border-radius:3px\"></a><a " -"href=\"/calendar/meeting/decline?db=${'dbname' in ctx and ctx['dbname'] or " -"'' }&token=${object.access_token}&action=${'action_id' in ctx and " -"ctx['action_id'] or ''}&id=${object.event_id.id}\" style=\"padding: 5px " -"10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-" -"color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: " -"0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: " -"pointer; white-space: nowrap; background-image: none; background-color: " -"#875A7B; border: 1px solid #875A7B; border-radius:3px\"></a><a " -"href=\"/calendar/meeting/view?db=${'dbname' in ctx and ctx['dbname'] or " -"''}&token=${object.access_token}&action=${'action_id' in ctx and " -"ctx['action_id'] or ''}&id=${object.event_id.id}\" style=\"padding: 5px " -"10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-" -"color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: " -"0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: " -"pointer; white-space: nowrap; background-image: none; background-color: " -"#875A7B; border: 1px solid #875A7B; border-" -"radius:3px\"></a></p></td></tr></tbody></table><table cellspacing=\"0\" " -"cellpadding=\"0\" style=\"width:600px;border-" -"collapse:collapse;background:inherit;color:inherit\"><tbody><tr><td " -"valign=\"top\" style=\"width:600px; padding:10px 10px 10px 5px;\"><div><hr " -"width=\"100%\" style=\"background-color:rgb(204,204,204);border:medium " -"none;clear:both;display:block;font-size:0px;min-height:1px;line-" -"height:0;margin:15px " -"auto;padding:0\"></div></td></tr></tbody></table></div><div " -"style=\"padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top " -"/100%;color:#777777\"><table cellspacing=\"0\" cellpadding=\"0\" " -"style=\"width:600px;border-" -"collapse:collapse;background:inherit;color:inherit\"><tbody><tr><td " -"style=\"padding:10px 10px 10px 5px;font-size: 14px;\"><p style=\"font-size: " -"20px; text-align: center;\"><strong></strong></p><p><strong></strong><br " -"/></p><table style=\"margin-top: 20px;\"><tr><td><div style=\"border-top-" -"left-radius:3px;border-top-right-radius:3px;font-size:12px;border-" -"collapse:separate;text-align:center;font-" -"weight:bold;color:#ffffff;width:130px;min-height: 18px;background:#875A7B" -";padding-top: 4px;\"></div><div style=\"font-size:48px;min-height:auto;font-" -"weight:bold;text-align:center;color: #5F5F5F;background-color: " -"#F8F8F8;width: 130px;border:1px solid #875A7B;\"></div><div style='font-" -"size:12px;text-align:center;font-weight:bold;color:#ffffff;background-" -"color:#875A7B'></div><div style=\"border-collapse:separate;color: #5F5F5F" -";text-align:center;width: 130px;font-size:12px;border-bottom-right-" -"radius:3px;font-weight:bold;border:1px solid #875A7B;border-bottom-left-" -"radius:3px;\"></div></td><td " -"width=\"20px;\"/><td><p></p><ul><li><ul><li><div style=\"display:inline-" -"block; border-radius: 50%; width:10px; " -"height:10px;background:${colors[attendee.state] or 'white'};\"></div><span " -"style=\"margin-left:5px\"></span><span style=\"margin-" -"left:5px\"></span></li></ul></li></ul></td></tr></table></td></tr></tbody></table></div><li><a" -" target=\"_blank\" " -"href=\"http://maps.google.com/maps?oi=map&q=${object.event_id.location}\"></a></li><li></li><li></li>" +"\n" +"<div summary=\"o_mail_template\" style=\"padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top /100%;color:#777777\">\n" +"% set colors = {'needsAction': 'grey', 'accepted': 'green', 'tentative': '#FFFF00', 'declined': 'red'}\n" +" <table cellspacing=\"0\" cellpadding=\"0\" style=\"width:600px;border-collapse:collapse;background:inherit;color:inherit\">\n" +" <tbody><tr>\n" +" <td valign=\"center\" width=\"200\" style=\"padding:10px 10px 10px 5px;font-size: 12px\">\n" +" <img src=\"/logo.png\" style=\"padding: 0px; margin: 0px; height: auto; width: 80px;\" alt=\"${user.company_id.name}\">\n" +" </td>\n" +" <td valign=\"center\" align=\"right\" width=\"340\" style=\"padding:10px 10px 10px 5px; font-size: 12px;\">\n" +" <p>\n" +" <a href=\"/calendar/meeting/accept?db=${'dbname' in ctx and ctx['dbname'] or ''}&token=${object.access_token}&action=${'action_id' in ctx and ctx['action_id'] or ''}&id=${object.event_id.id}\" style=\"padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; background-image: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px\">Accepter</a>\n" +" <a href=\"/calendar/meeting/decline?db=${'dbname' in ctx and ctx['dbname'] or '' }&token=${object.access_token}&action=${'action_id' in ctx and ctx['action_id'] or ''}&id=${object.event_id.id}\" style=\"padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; background-image: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px\">Refuser</a>\n" +" <a href=\"/calendar/meeting/view?db=${'dbname' in ctx and ctx['dbname'] or ''}&token=${object.access_token}&action=${'action_id' in ctx and ctx['action_id'] or ''}&id=${object.event_id.id}\" style=\"padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; border-color:#875A7B; text-decoration: none; display: inline-block; margin-bottom: 0px; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; background-image: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px\">Voir</a>\n" +" </p>\n" +" </td>\n" +" </tr></tbody>\n" +" </table>\n" +" <table cellspacing=\"0\" cellpadding=\"0\" style=\"width:600px;border-collapse:collapse;background:inherit;color:inherit\">\n" +" <tbody><tr>\n" +" <td valign=\"top\" style=\"width:600px; padding:10px 10px 10px 5px;\">\n" +" <div>\n" +" <hr width=\"100%\" style=\"background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0;margin:15px auto;padding:0\">\n" +" </div>\n" +" </td>\n" +" </tr></tbody>\n" +" </table>\n" +"</div>\n" +"<div style=\"padding:0px;width:600px;margin:auto;background: #FFFFFF repeat top /100%;color:#777777\">\n" +" <table cellspacing=\"0\" cellpadding=\"0\" style=\"width:600px;border-collapse:collapse;background:inherit;color:inherit\">\n" +" <tbody><tr>\n" +" <td style=\"padding:10px 10px 10px 5px;font-size: 14px;\">\n" +" <p style=\"font-size: 20px; text-align: center;\">Rappel pour l'événement <strong>${object.event_id.name}</strong></p>\n" +" <p>\n" +" <strong>Cher/chère ${object.common_name}</strong>,<br />\n" +" Il s'agit d'un rappel pour l'événement ci-dessous :\n" +" </p>\n" +" <table style=\"margin-top: 20px;\"><tr>\n" +" <td>\n" +" <div style=\"border-top-left-radius:3px;border-top-right-radius:3px;font-size:12px;border-collapse:separate;text-align:center;font-weight:bold;color:#ffffff;width:130px;min-height: 18px;background:#875A7B;padding-top: 4px;\">\n" +" ${object.event_id.get_interval('dayname', tz=object.partner_id.tz if not object.event_id.allday else None)}\n" +" </div>\n" +" <div style=\"font-size:48px;min-height:auto;font-weight:bold;text-align:center;color: #5F5F5F;background-color: #F8F8F8;width: 130px;border:1px solid #875A7B;\">\n" +" ${object.event_id.get_interval('day', tz=object.partner_id.tz if not object.event_id.allday else None)}\n" +" </div>\n" +" <div style='font-size:12px;text-align:center;font-weight:bold;color:#ffffff;background-color:#875A7B'>${object.event_id.get_interval('month', tz=object.partner_id.tz if not object.event_id.allday else None)}</div>\n" +" <div style=\"border-collapse:separate;color: #5F5F5F;text-align:center;width: 130px;font-size:12px;border-bottom-right-radius:3px;font-weight:bold;border:1px solid #875A7B;border-bottom-left-radius:3px;\">${not object.event_id.allday and object.event_id.get_interval('time', tz=object.partner_id.tz) or ''}</div>\n" +" </td>\n" +" <td width=\"20px;\"/>\n" +" <td>\n" +" <p>Détails de l'événement</p>\n" +" <ul>\n" +" % if object.event_id.location:\n" +" <li>Lieu : ${object.event_id.location}\n" +" (<a target=\"_blank\" href=\"http://maps.google.com/maps?oi=map&q=${object.event_id.location}\">Afficher la carte</a>)\n" +" </li>\n" +" % endif\n" +" % if object.event_id.description :\n" +" <li>Description : ${object.event_id.description}</li>\n" +" % endif\n" +" % if not object.event_id.allday and object.event_id.duration\n" +" <li>Durée : ${('%dH%02d' % (object.event_id.duration,(object.event_id.duration*60)%60))}</li>\n" +" % endif\n" +" <li>Participants\n" +" <ul>\n" +" % for attendee in object.event_id.attendee_ids:\n" +" <li>\n" +" <div style=\"display:inline-block; border-radius: 50%; width:10px; height:10px;background:${colors[attendee.state] or 'white'};\"></div>\n" +" % if attendee.common_name != object.common_name:\n" +" <span style=\"margin-left:5px\">${attendee.common_name}</span>\n" +" % else:\n" +" <span style=\"margin-left:5px\">Vous</span>\n" +" % endif\n" +" </li>\n" +" % endfor\n" +" </ul></li>\n" +" </ul>\n" +" </td>\n" +" </tr></table>\n" +" </td>\n" +" </tr></tbody>\n" +" </table>\n" +"</div>" #. module: calendar #: model:mail.template,subject:calendar.calendar_template_meeting_reminder |
