{"en_US": "<data name=\"My Task\" inherit_id=\"portal.portal_sidebar\" primary=\"True\">\n        <xpath expr=\"//t[@t-call='portal.portal_layout']\" position=\"attributes\">\n            <attribute name=\"t-call\">project.task_link_preview_portal_layout</attribute>\n        </xpath>\n        <xpath expr=\"//div[hasclass('o_portal_sidebar')]\" position=\"inside\">\n            <t t-set=\"title\" t-value=\"task.name\"/>\n            <t t-set=\"o_portal_fullwidth_alert\" groups=\"project.group_project_user\">\n                <t t-call=\"portal.portal_back_in_edit_mode\">\n                    <t t-set=\"backend_url\" t-value=\"'/odoo/action-project.action_view_my_task/%s' % (task.id)\"/>\n                </t>\n            </t>\n\n            <div class=\"row o_project_portal_sidebar\">\n                <t t-call=\"portal.portal_record_sidebar\">\n                    <t t-set=\"classes\" t-value=\"'col-lg-4 col-xxl-3 d-print-none'\"/>\n\n                    <t t-set=\"entries\">\n                        <div class=\"d-flex flex-wrap flex-column gap-4\">\n                            <div id=\"task-nav\" class=\"d-flex align-items-center flex-grow-1 p-0\" t-ignore=\"true\" role=\"complementary\">\n                                <ul class=\"nav flex-column\">\n                                    <li class=\"nav-item\" id=\"nav-header\">\n                                        <a class=\"nav-link p-0\" href=\"#card_header\">\n                                            Task\n                                        </a>\n                                    </li>\n                                    <li class=\"nav-item\" id=\"nav-chat\">\n                                        <a class=\"nav-link p-0\" href=\"#task_chat\">\n                                            History\n                                        </a>\n                                    </li>\n                                </ul>\n                            </div>\n                            <div id=\"task-links\" t-if=\"task_link_section\" class=\"d-flex align-items-center flex-grow-1 ps-0\" t-ignore=\"true\" role=\"complementary\">\n                                <ul class=\"nav flex-column\">\n                                    <t t-foreach=\"task_link_section\" t-as=\"task_link\">\n                                        <li class=\"nav-item\">\n                                            <a class=\"nav-link p-0\" t-att-href=\"task_link['access_url']\" t-att-target=\"task_link.get('target', '_self')\">\n                                                <t t-out=\"task_link['title']\"/>\n                                            </a>\n                                        </li>\n                                    </t>\n                                </ul>\n                            </div>\n\n                            <div t-if=\"task.user_ids or task.partner_id\" class=\"d-flex flex-column gap-4 mt-3\">\n                                <div t-if=\"task.user_ids\">\n                                    <h6 class=\"flex-basis-100\"><small class=\"text-muted\">Assignees</small></h6>\n                                    <t t-foreach=\"task.user_ids\" t-as=\"user\">\n                                        <t t-call=\"portal.portal_my_contact\">\n                                            <t t-set=\"_spacingClass\" t-value=\"'mb-3' if len(task.user_ids) &gt; 1 else ''\"/>\n                                            <t t-set=\"_contactAvatar\" t-value=\"image_data_uri(user.avatar_128)\"/>\n                                            <t t-set=\"_contactName\" t-value=\"user.name\"/>\n                                            <div t-out=\"user\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;email&quot;, &quot;phone&quot;]}\"/>\n                                        </t>\n                                    </t>\n                                </div>\n                                <div class=\"col-12 d-flex flex-column\" t-if=\"task.partner_id\">\n                                    <h6><small class=\"text-muted\">Customer</small></h6>\n                                    <t t-if=\"task.partner_id\">\n                                        <t t-call=\"portal.portal_my_contact\">\n                                            <t t-set=\"_contactAvatar\" t-value=\"image_data_uri(task.partner_id.avatar_512)\"/>\n                                            <t t-set=\"_contactName\" t-value=\"task.partner_id.display_name\"/>\n                                            <div t-field=\"task.partner_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;email&quot;, &quot;phone&quot;]}\"/>\n                                        </t>\n                                    </t>\n                                </div>\n                            </div>\n                        </div>\n                    </t>\n                </t>\n                <div id=\"task_content\" class=\"o_portal_content col-12 col-lg-8 col-xxl-9\">\n                    <div id=\"card\">\n                        <div id=\"card_header\" data-anchor=\"true\">\n                            <div class=\"row justify-content-between mb-3\">\n                                <div class=\"col-12 col-md-9\">\n                                    <div class=\"d-flex gap-2\">\n                                        <h3 class=\"my-0\">\n                                            <t t-call=\"project.portal_my_tasks_priority_widget_template\"/>\n                                            <span t-field=\"task.name\"/>\n                                            <small class=\"text-muted d-none d-md-inline\">(#<span t-field=\"task.id\"/>)</small>\n                                        </h3>\n                                    </div>\n                                </div>\n                                <div class=\"col-auto\">\n                                    <small class=\"text-end\">Stage:</small>\n                                    <span t-field=\"task.stage_id.name\" class=\" badge rounded-pill text-bg-info\" title=\"Current stage of this task\"/>\n                                </div>\n                            </div>\n                        </div>\n                        <div id=\"card_body\">\n                            <div class=\"float-end\">\n                                <t t-call=\"project.portal_my_tasks_state_widget_template\">\n                                    <t t-set=\"path\" t-value=\"'task'\"/>\n                                </t>\n                            </div>\n                            <div class=\"row mb-4 container\">\n                                <div class=\"col-12 col-md-6 flex-grow-1\">\n                                    <div t-if=\"project_accessible\"><strong>Project:</strong> <a t-attf-href=\"/my/projects/#{task.project_id.id}\" t-field=\"task.project_id\"/></div>\n                                    <div t-else=\"\"><strong>Project:</strong> <a t-field=\"task.project_id\"/></div>\n                                    <div t-if=\"task.date_deadline\"><strong>Deadline:</strong> <span t-field=\"task.date_deadline\" t-options=\"{&quot;widget&quot;: &quot;datetime&quot;}\"/></div>\n                                    <div t-if=\"task.milestone_id and task.allow_milestones\"><strong>Milestone:</strong> <span t-field=\"task.milestone_id\"/></div>\n                                    <div name=\"portal_my_task_allocated_hours\">\n                                        <strong t-if=\"task.allocated_hours &gt; 0\">Allocated Time:</strong>\n                                        <t t-call=\"project.portal_my_task_allocated_hours_template\"/>\n                                    </div>\n                                </div>\n                                <div class=\"col-12 col-md-6 d-empty-none\" name=\"portal_my_task_second_column\"/>\n                            </div>\n\n                            <div class=\"row\" t-if=\"task.description or task.attachment_ids\">\n                                <div t-if=\"not is_html_empty(task.description)\" class=\"mb-4 mb-md-0\">\n                                    <h5 class=\"mb-1\">Description</h5>\n                                    <hr class=\"mt-1 mb-2\"/>\n                                    <div class=\"py-1 px-2 bg-100 small overflow-auto table-responsive mb-4\" t-field=\"task.description\"/>\n                                </div>\n                                <div t-if=\"task.attachment_ids\" class=\"o_project_portal_attachments\">\n                                    <h5 class=\"mb-1\">Attachments</h5>\n                                    <hr class=\"mt-1 mb-2\"/>\n                                    <div class=\"row\">\n                                        <t t-foreach=\"task.attachment_ids\" t-as=\"attachment\">\n                                            <div class=\"col-md-6\">\n                                                <ul class=\"list-unstyled\">\n                                                    <li class=\"oe_attachments\">\n                                                        <a t-attf-href=\"/web/content/#{attachment.id}?download=true&amp;access_token=#{attachment.access_token}\" target=\"_blank\" data-no-post-process=\"\" class=\"d-flex align-items-center rounded bg-light p-2\">\n                                                            <div class=\"oe_attachment_embedded o_image o_image_small me-2 me-lg-3\" t-att-title=\"attachment.name\" t-att-data-mimetype=\"attachment.mimetype\" t-attf-data-src=\"/web/image/#{attachment.id}/50x40?access_token=#{attachment.access_token}\">\n                                                            </div>\n                                                            <div class=\"oe_attachment_name text-truncate\"><t t-esc=\"attachment.name\"/></div>\n                                                        </a>\n                                                    </li>\n                                                </ul>\n                                            </div>\n                                        </t>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n\n                    <hr/>\n                    <div id=\"task_chat\" data-anchor=\"true\">\n                        <h3>Communication history</h3>\n                        <t t-call=\"portal.message_thread\">\n                            <t t-set=\"token\" t-value=\"task.access_token\"/>\n                        </t>\n                    </div>\n                </div>\n            </div>\n        </xpath>\n    <xpath expr=\".\" position=\"attributes\"><attribute name=\"t-name\">project.portal_my_task</attribute></xpath></data>", "es_ES": "<data name=\"My Task\" inherit_id=\"portal.portal_sidebar\" primary=\"True\">\n        <xpath expr=\"//t[@t-call='portal.portal_layout']\" position=\"attributes\">\n            <attribute name=\"t-call\">project.task_link_preview_portal_layout</attribute>\n        </xpath>\n        <xpath expr=\"//div[hasclass('o_portal_sidebar')]\" position=\"inside\">\n            <t t-set=\"title\" t-value=\"task.name\"/>\n            <t t-set=\"o_portal_fullwidth_alert\" groups=\"project.group_project_user\">\n                <t t-call=\"portal.portal_back_in_edit_mode\">\n                    <t t-set=\"backend_url\" t-value=\"'/odoo/action-project.action_view_my_task/%s' % (task.id)\"/>\n                </t>\n            </t>\n\n            <div class=\"row o_project_portal_sidebar\">\n                <t t-call=\"portal.portal_record_sidebar\">\n                    <t t-set=\"classes\" t-value=\"'col-lg-4 col-xxl-3 d-print-none'\"/>\n\n                    <t t-set=\"entries\">\n                        <div class=\"d-flex flex-wrap flex-column gap-4\">\n                            <div id=\"task-nav\" class=\"d-flex align-items-center flex-grow-1 p-0\" t-ignore=\"true\" role=\"complementary\">\n                                <ul class=\"nav flex-column\">\n                                    <li class=\"nav-item\" id=\"nav-header\">\n                                        <a class=\"nav-link p-0\" href=\"#card_header\">\n                                            Tarea\n                                        </a>\n                                    </li>\n                                    <li class=\"nav-item\" id=\"nav-chat\">\n                                        <a class=\"nav-link p-0\" href=\"#task_chat\">\n                                            Historial\n                                        </a>\n                                    </li>\n                                </ul>\n                            </div>\n                            <div id=\"task-links\" t-if=\"task_link_section\" class=\"d-flex align-items-center flex-grow-1 ps-0\" t-ignore=\"true\" role=\"complementary\">\n                                <ul class=\"nav flex-column\">\n                                    <t t-foreach=\"task_link_section\" t-as=\"task_link\">\n                                        <li class=\"nav-item\">\n                                            <a class=\"nav-link p-0\" t-att-href=\"task_link['access_url']\" t-att-target=\"task_link.get('target', '_self')\">\n                                                <t t-out=\"task_link['title']\"/>\n                                            </a>\n                                        </li>\n                                    </t>\n                                </ul>\n                            </div>\n\n                            <div t-if=\"task.user_ids or task.partner_id\" class=\"d-flex flex-column gap-4 mt-3\">\n                                <div t-if=\"task.user_ids\">\n                                    <h6 class=\"flex-basis-100\"><small class=\"text-muted\">Personas asignadas</small></h6>\n                                    <t t-foreach=\"task.user_ids\" t-as=\"user\">\n                                        <t t-call=\"portal.portal_my_contact\">\n                                            <t t-set=\"_spacingClass\" t-value=\"'mb-3' if len(task.user_ids) &gt; 1 else ''\"/>\n                                            <t t-set=\"_contactAvatar\" t-value=\"image_data_uri(user.avatar_128)\"/>\n                                            <t t-set=\"_contactName\" t-value=\"user.name\"/>\n                                            <div t-out=\"user\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;email&quot;, &quot;phone&quot;]}\"/>\n                                        </t>\n                                    </t>\n                                </div>\n                                <div class=\"col-12 d-flex flex-column\" t-if=\"task.partner_id\">\n                                    <h6><small class=\"text-muted\">Cliente</small></h6>\n                                    <t t-if=\"task.partner_id\">\n                                        <t t-call=\"portal.portal_my_contact\">\n                                            <t t-set=\"_contactAvatar\" t-value=\"image_data_uri(task.partner_id.avatar_512)\"/>\n                                            <t t-set=\"_contactName\" t-value=\"task.partner_id.display_name\"/>\n                                            <div t-field=\"task.partner_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;email&quot;, &quot;phone&quot;]}\"/>\n                                        </t>\n                                    </t>\n                                </div>\n                            </div>\n                        </div>\n                    </t>\n                </t>\n                <div id=\"task_content\" class=\"o_portal_content col-12 col-lg-8 col-xxl-9\">\n                    <div id=\"card\">\n                        <div id=\"card_header\" data-anchor=\"true\">\n                            <div class=\"row justify-content-between mb-3\">\n                                <div class=\"col-12 col-md-9\">\n                                    <div class=\"d-flex gap-2\">\n                                        <h3 class=\"my-0\">\n                                            <t t-call=\"project.portal_my_tasks_priority_widget_template\"/>\n                                            <span t-field=\"task.name\"/>\n                                            <small class=\"text-muted d-none d-md-inline\">(#<span t-field=\"task.id\"/>)</small>\n                                        </h3>\n                                    </div>\n                                </div>\n                                <div class=\"col-auto\">\n                                    <small class=\"text-end\">Etapa:</small>\n                                    <span t-field=\"task.stage_id.name\" class=\" badge rounded-pill text-bg-info\" title=\"Etapa actual de esta tarea\"/>\n                                </div>\n                            </div>\n                        </div>\n                        <div id=\"card_body\">\n                            <div class=\"float-end\">\n                                <t t-call=\"project.portal_my_tasks_state_widget_template\">\n                                    <t t-set=\"path\" t-value=\"'task'\"/>\n                                </t>\n                            </div>\n                            <div class=\"row mb-4 container\">\n                                <div class=\"col-12 col-md-6 flex-grow-1\">\n                                    <div t-if=\"project_accessible\"><strong>Proyecto:</strong> <a t-attf-href=\"/my/projects/#{task.project_id.id}\" t-field=\"task.project_id\"/></div>\n                                    <div t-else=\"\"><strong>Proyecto:</strong> <a t-field=\"task.project_id\"/></div>\n                                    <div t-if=\"task.date_deadline\"><strong>Fecha límite:</strong> <span t-field=\"task.date_deadline\" t-options=\"{&quot;widget&quot;: &quot;datetime&quot;}\"/></div>\n                                    <div t-if=\"task.milestone_id and task.allow_milestones\"><strong>Hito:</strong> <span t-field=\"task.milestone_id\"/></div>\n                                    <div name=\"portal_my_task_allocated_hours\">\n                                        <strong t-if=\"task.allocated_hours &gt; 0\">Tiempo asignado:</strong>\n                                        <t t-call=\"project.portal_my_task_allocated_hours_template\"/>\n                                    </div>\n                                </div>\n                                <div class=\"col-12 col-md-6 d-empty-none\" name=\"portal_my_task_second_column\"/>\n                            </div>\n\n                            <div class=\"row\" t-if=\"task.description or task.attachment_ids\">\n                                <div t-if=\"not is_html_empty(task.description)\" class=\"mb-4 mb-md-0\">\n                                    <h5 class=\"mb-1\">Descripción</h5>\n                                    <hr class=\"mt-1 mb-2\"/>\n                                    <div class=\"py-1 px-2 bg-100 small overflow-auto table-responsive mb-4\" t-field=\"task.description\"/>\n                                </div>\n                                <div t-if=\"task.attachment_ids\" class=\"o_project_portal_attachments\">\n                                    <h5 class=\"mb-1\">Archivos adjuntos</h5>\n                                    <hr class=\"mt-1 mb-2\"/>\n                                    <div class=\"row\">\n                                        <t t-foreach=\"task.attachment_ids\" t-as=\"attachment\">\n                                            <div class=\"col-md-6\">\n                                                <ul class=\"list-unstyled\">\n                                                    <li class=\"oe_attachments\">\n                                                        <a t-attf-href=\"/web/content/#{attachment.id}?download=true&amp;access_token=#{attachment.access_token}\" target=\"_blank\" data-no-post-process=\"\" class=\"d-flex align-items-center rounded bg-light p-2\">\n                                                            <div class=\"oe_attachment_embedded o_image o_image_small me-2 me-lg-3\" t-att-title=\"attachment.name\" t-att-data-mimetype=\"attachment.mimetype\" t-attf-data-src=\"/web/image/#{attachment.id}/50x40?access_token=#{attachment.access_token}\">\n                                                            </div>\n                                                            <div class=\"oe_attachment_name text-truncate\"><t t-esc=\"attachment.name\"/></div>\n                                                        </a>\n                                                    </li>\n                                                </ul>\n                                            </div>\n                                        </t>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n\n                    <hr/>\n                    <div id=\"task_chat\" data-anchor=\"true\">\n                        <h3>Historial de comunicación</h3>\n                        <t t-call=\"portal.message_thread\">\n                            <t t-set=\"token\" t-value=\"task.access_token\"/>\n                        </t>\n                    </div>\n                </div>\n            </div>\n        </xpath>\n    <xpath expr=\".\" position=\"attributes\"><attribute name=\"t-name\">project.portal_my_task</attribute></xpath></data>"}