{"en_US": "<data name=\"My Task\" inherit_id=\"portal.portal_sidebar\" primary=\"True\">\n        <xpath expr=\"//div[hasclass('o_portal_sidebar')]\" position=\"inside\">\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=\"'/web#model=project.task&amp;id=%s&amp;action=%s&amp;view_type=form' % (task.id, task.env.ref('project.action_view_all_task').id)\"/>\n                </t>\n            </t>\n\n            <div class=\"row mt16 o_project_portal_sidebar\">\n                <t t-call=\"portal.portal_record_sidebar\">\n                    <t t-set=\"classes\" t-value=\"'col-lg-3 d-print-none'\"/>\n\n                    <t t-set=\"entries\">\n                        <ul class=\"list-group list-group-flush flex-wrap flex-row flex-lg-column\">\n                            <li id=\"task-nav\" class=\"list-group-item ps-0 flex-grow-1 d-flex align-items-center\" t-ignore=\"true\" role=\"complementary\">\n                                <ul class=\"nav flex-column\">\n                                    <li class=\"nav-item\" id=\"nav-header\">\n                                        <a class=\"nav-link ps-3\" href=\"#card_header\" style=\"max-width: 200px;\">\n                                            Task\n                                        </a>\n                                    </li>\n                                    <li class=\"nav-item\" id=\"nav-chat\">\n                                        <a class=\"nav-link ps-3\" href=\"#task_chat\">\n                                            History\n                                        </a>\n                                    </li>\n                                </ul>\n                            </li>\n                            <li id=\"task-links\" t-if=\"task_link_section\" class=\"list-group-item ps-0 flex-grow-1 d-flex align-items-center\" 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 ps-3\" t-att-href=\"task_link['access_url']\">\n                                                <t t-out=\"task_link['title']\"/>\n                                            </a>\n                                        </li>\n                                    </t>\n                                </ul>\n                            </li>\n\n                            <li t-if=\"task.user_ids or task.partner_id\" class=\"list-group-item flex-grow-1\">\n                                <div class=\"col-12 col-md-12 pb-2\" t-if=\"task.user_ids\">\n                                    <strong>Assignees</strong>\n                                    <t t-foreach=\"task.user_ids\" t-as=\"user\">\n                                        <div class=\"d-flex mb-3 flex-nowrap mt-1\">\n                                            <img class=\"rounded-circle o_portal_contact_img\" t-att-src=\"image_data_uri(user.avatar_128)\" alt=\"Contact\"/>\n                                            <div class=\"ms-2\">\n                                                <div t-esc=\"user\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;name&quot;]}\"/>\n                                                <a t-attf-href=\"tel:{{user.phone}}\" t-if=\"user.phone\"><div t-esc=\"user\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;phone&quot;]}\"/></a>\n                                                <a t-if=\"user.email\" class=\"text-break\" t-attf-href=\"mailto:{{user.email}}\">\n                                                    <div t-out=\"user\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;email&quot;]}\"/>\n                                                </a>\n                                            </div>\n                                        </div>\n                                    </t>\n                                </div>\n                                <div class=\"col-12 col-md-12 pb-2\" t-if=\"task.partner_id\">\n                                    <strong>Customer</strong>\n                                    <div class=\"d-flex flex-nowrap mt-1\">\n                                        <img class=\"rounded-circle o_portal_contact_img\" t-att-src=\"image_data_uri(task.partner_id.avatar_128)\" alt=\"Contact\"/>\n                                        <div class=\"ms-2\">\n                                            <div t-field=\"task.partner_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;name&quot;]}\"/>\n                                            <a t-attf-href=\"tel:{{task.partner_id.phone}}\" t-if=\"task.partner_id.phone\"><div t-field=\"task.partner_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;phone&quot;]}\"/></a>\n                                            <a t-if=\"task.partner_id.email\" class=\"text-break\" t-attf-href=\"mailto:{{task.partner_id.email}}\">\n                                                <div t-field=\"task.partner_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;email&quot;]}\"/>\n                                            </a>\n                                        </div>\n                                    </div>\n                                </div>\n                            </li>\n                        </ul>\n                    </t>\n                </t>\n                <div id=\"task_content\" class=\"col-lg-9 justify-content-end\">\n                    <div id=\"card\" class=\"card\">\n                        <div id=\"card_header\" class=\"card-header bg-white\" data-anchor=\"true\">\n                            <div class=\"row g-0\">\n                                <div class=\"col-12\">\n                                    <h5 class=\"d-flex mb-1 mb-md-0 row\">\n                                        <div class=\"col-9\">\n                                            <t t-call=\"project.portal_my_tasks_priority_widget_template\"/>\n                                            <span t-field=\"task.name\" class=\"text-truncate\"/>\n                                            <small class=\"text-muted d-none d-md-inline\"> (#<span t-field=\"task.id\"/>)</small>\n                                        </div>\n                                        <div class=\"col-3 text-end\">\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                                    </h5>\n                                </div>\n                            </div>\n                        </div>\n                        <div id=\"card_body\" class=\"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\">\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;date&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_planned_hours\">\n                                        <t t-call=\"project.portal_my_task_planned_hours_template\"/>\n                                    </div>\n                                </div>\n                                <div class=\"col-12 col-md-6\" 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)\" t-attf-class=\"col-12 col-lg-7 mb-4 mb-md-0 {{'col-lg-7' if task.attachment_ids else 'col-lg-12'}}\">\n                                    <hr class=\"mb-1\"/>\n                                    <div class=\"d-flex my-2\">\n                                        <strong>Description</strong>\n                                    </div>\n                                    <div class=\"py-1 px-2 bg-100 small table-responsive\" t-field=\"task.description\"/>\n                                </div>\n                                <div t-if=\"task.attachment_ids\" t-attf-class=\"col-12 col-lg-5 o_project_portal_attachments {{'col-lg-5' if task.description else 'col-lg-12'}}\">\n                                    <hr class=\"mb-1 d-none d-lg-block\"/>\n                                    <strong class=\"d-block mb-2\">Attachments</strong>\n                                    <div class=\"row\">\n                                        <div t-attf-class=\"col {{'col-lg-6' if not task.description else 'col-lg-12'}}\">\n                                            <ul class=\"list-group\">\n                                                <a class=\"list-group-item list-group-item-action d-flex align-items-center oe_attachments py-1 px-2\" t-foreach=\"task.attachment_ids\" t-as=\"attachment\" t-attf-href=\"/web/content/#{attachment.id}?download=true&amp;access_token=#{attachment.access_token}\" target=\"_blank\" data-no-post-process=\"\">\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 class=\"oe_attachment_name text-truncate\"><t t-esc=\"attachment.name\"/></div>\n                                                </a>\n                                            </ul>\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n\n                    <div class=\"mt32\" id=\"task_chat\" data-anchor=\"true\">\n                        <h4><strong>Message and communication history</strong></h4>\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>", "vi_VN": "<data name=\"My Task\" inherit_id=\"portal.portal_sidebar\" primary=\"True\">\n        <xpath expr=\"//div[hasclass('o_portal_sidebar')]\" position=\"inside\">\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=\"'/web#model=project.task&amp;id=%s&amp;action=%s&amp;view_type=form' % (task.id, task.env.ref('project.action_view_all_task').id)\"/>\n                </t>\n            </t>\n\n            <div class=\"row mt16 o_project_portal_sidebar\">\n                <t t-call=\"portal.portal_record_sidebar\">\n                    <t t-set=\"classes\" t-value=\"'col-lg-3 d-print-none'\"/>\n\n                    <t t-set=\"entries\">\n                        <ul class=\"list-group list-group-flush flex-wrap flex-row flex-lg-column\">\n                            <li id=\"task-nav\" class=\"list-group-item ps-0 flex-grow-1 d-flex align-items-center\" t-ignore=\"true\" role=\"complementary\">\n                                <ul class=\"nav flex-column\">\n                                    <li class=\"nav-item\" id=\"nav-header\">\n                                        <a class=\"nav-link ps-3\" href=\"#card_header\" style=\"max-width: 200px;\">\n                                            Công việc\n                                        </a>\n                                    </li>\n                                    <li class=\"nav-item\" id=\"nav-chat\">\n                                        <a class=\"nav-link ps-3\" href=\"#task_chat\">\n                                            Lịch sử\n                                        </a>\n                                    </li>\n                                </ul>\n                            </li>\n                            <li id=\"task-links\" t-if=\"task_link_section\" class=\"list-group-item ps-0 flex-grow-1 d-flex align-items-center\" 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 ps-3\" t-att-href=\"task_link['access_url']\">\n                                                <t t-out=\"task_link['title']\"/>\n                                            </a>\n                                        </li>\n                                    </t>\n                                </ul>\n                            </li>\n\n                            <li t-if=\"task.user_ids or task.partner_id\" class=\"list-group-item flex-grow-1\">\n                                <div class=\"col-12 col-md-12 pb-2\" t-if=\"task.user_ids\">\n                                    <strong>Người được phân công</strong>\n                                    <t t-foreach=\"task.user_ids\" t-as=\"user\">\n                                        <div class=\"d-flex mb-3 flex-nowrap mt-1\">\n                                            <img class=\"rounded-circle o_portal_contact_img\" t-att-src=\"image_data_uri(user.avatar_128)\" alt=\"Liên hệ\"/>\n                                            <div class=\"ms-2\">\n                                                <div t-esc=\"user\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;name&quot;]}\"/>\n                                                <a t-attf-href=\"tel:{{user.phone}}\" t-if=\"user.phone\"><div t-esc=\"user\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;phone&quot;]}\"/></a>\n                                                <a t-if=\"user.email\" class=\"text-break\" t-attf-href=\"mailto:{{user.email}}\">\n                                                    <div t-out=\"user\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;email&quot;]}\"/>\n                                                </a>\n                                            </div>\n                                        </div>\n                                    </t>\n                                </div>\n                                <div class=\"col-12 col-md-12 pb-2\" t-if=\"task.partner_id\">\n                                    <strong>Khách hàng</strong>\n                                    <div class=\"d-flex flex-nowrap mt-1\">\n                                        <img class=\"rounded-circle o_portal_contact_img\" t-att-src=\"image_data_uri(task.partner_id.avatar_128)\" alt=\"Liên hệ\"/>\n                                        <div class=\"ms-2\">\n                                            <div t-field=\"task.partner_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;name&quot;]}\"/>\n                                            <a t-attf-href=\"tel:{{task.partner_id.phone}}\" t-if=\"task.partner_id.phone\"><div t-field=\"task.partner_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;phone&quot;]}\"/></a>\n                                            <a t-if=\"task.partner_id.email\" class=\"text-break\" t-attf-href=\"mailto:{{task.partner_id.email}}\">\n                                                <div t-field=\"task.partner_id\" t-options=\"{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;email&quot;]}\"/>\n                                            </a>\n                                        </div>\n                                    </div>\n                                </div>\n                            </li>\n                        </ul>\n                    </t>\n                </t>\n                <div id=\"task_content\" class=\"col-lg-9 justify-content-end\">\n                    <div id=\"card\" class=\"card\">\n                        <div id=\"card_header\" class=\"card-header bg-white\" data-anchor=\"true\">\n                            <div class=\"row g-0\">\n                                <div class=\"col-12\">\n                                    <h5 class=\"d-flex mb-1 mb-md-0 row\">\n                                        <div class=\"col-9\">\n                                            <t t-call=\"project.portal_my_tasks_priority_widget_template\"/>\n                                            <span t-field=\"task.name\" class=\"text-truncate\"/>\n                                            <small class=\"text-muted d-none d-md-inline\"> (#<span t-field=\"task.id\"/>)</small>\n                                        </div>\n                                        <div class=\"col-3 text-end\">\n                                            <small class=\"text-end\">Giai đoạn:</small>\n                                            <span t-field=\"task.stage_id.name\" class=\" badge rounded-pill text-bg-info\" title=\"Tình trạng hiện tại của tác vụ này\"/>\n                                        </div>\n                                    </h5>\n                                </div>\n                            </div>\n                        </div>\n                        <div id=\"card_body\" class=\"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\">\n                                    <div t-if=\"project_accessible\"><strong>Dự án:</strong> <a t-attf-href=\"/my/projects/#{task.project_id.id}\" t-field=\"task.project_id\"/></div>\n                                    <div t-else=\"\"><strong>Dự án:</strong> <a t-field=\"task.project_id\"/></div>\n                                    <div t-if=\"task.date_deadline\"><strong>Thời hạn:</strong> <span t-field=\"task.date_deadline\" t-options=\"{&quot;widget&quot;: &quot;date&quot;}\"/></div>\n                                    <div t-if=\"task.milestone_id and task.allow_milestones\"><strong>Mốc thời gian:</strong> <span t-field=\"task.milestone_id\"/></div>\n                                    <div name=\"portal_my_task_planned_hours\">\n                                        <t t-call=\"project.portal_my_task_planned_hours_template\"/>\n                                    </div>\n                                </div>\n                                <div class=\"col-12 col-md-6\" 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)\" t-attf-class=\"col-12 col-lg-7 mb-4 mb-md-0 {{'col-lg-7' if task.attachment_ids else 'col-lg-12'}}\">\n                                    <hr class=\"mb-1\"/>\n                                    <div class=\"d-flex my-2\">\n                                        <strong>Mô tả</strong>\n                                    </div>\n                                    <div class=\"py-1 px-2 bg-100 small table-responsive\" t-field=\"task.description\"/>\n                                </div>\n                                <div t-if=\"task.attachment_ids\" t-attf-class=\"col-12 col-lg-5 o_project_portal_attachments {{'col-lg-5' if task.description else 'col-lg-12'}}\">\n                                    <hr class=\"mb-1 d-none d-lg-block\"/>\n                                    <strong class=\"d-block mb-2\">Đính kèm</strong>\n                                    <div class=\"row\">\n                                        <div t-attf-class=\"col {{'col-lg-6' if not task.description else 'col-lg-12'}}\">\n                                            <ul class=\"list-group\">\n                                                <a class=\"list-group-item list-group-item-action d-flex align-items-center oe_attachments py-1 px-2\" t-foreach=\"task.attachment_ids\" t-as=\"attachment\" t-attf-href=\"/web/content/#{attachment.id}?download=true&amp;access_token=#{attachment.access_token}\" target=\"_blank\" data-no-post-process=\"\">\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 class=\"oe_attachment_name text-truncate\"><t t-esc=\"attachment.name\"/></div>\n                                                </a>\n                                            </ul>\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n\n                    <div class=\"mt32\" id=\"task_chat\" data-anchor=\"true\">\n                        <h4><strong>Lịch sử tin nhắn và truyền thông</strong></h4>\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>"}