{"en_US": "<data name=\"TOTP Portal hook\" inherit_id=\"portal.portal_my_security\">\n        <xpath expr=\"//section[@name='portal_change_password']\" position=\"after\">\n            <!--\n                portal users don't have access to non-qweb views anymore, so\n                embed the target view as a *data island* of sorts, a JSON embed\n                of the fields_view_get could have been nice but at 14k it'd be a\n                bit ridiculous\n            -->\n            <div class=\"d-none\" id=\"totp_wizard_view\">\n                <t t-esc=\"env.ref('auth_totp.view_totp_wizard').sudo().get_combined_arch()\"/>\n            </div>\n            <section>\n                <h3>\n                    Two-factor authentication\n                    <a href=\"https://www.odoo.com/documentation/16.0/applications/general/auth/2fa.html\" target=\"_blank\">\n                        <i title=\"Documentation\" class=\"fa fa-fw o_button_icon fa-info-circle\"/>\n                    </a>\n                </h3>\n                <t t-if=\"not user_id.totp_enabled\">\n                    <div class=\"alert alert-secondary\" role=\"status\">\n                        <i class=\"fa fa-warning\"/>\n                        Two-factor authentication not enabled\n                    </div>\n                    <button type=\"button\" class=\"btn btn-secondary\" id=\"auth_totp_portal_enable\">\n                        Enable two-factor authentication\n                    </button>\n                </t>\n                <t t-else=\"\">\n                    <span class=\"text-success\">\n                        <i class=\"fa fa-check-circle\"/>\n                        Two-factor authentication enabled\n                    </span>\n                    <button type=\"button\" class=\"btn btn-link\" id=\"auth_totp_portal_disable\">\n                        (Disable two-factor authentication)\n                    </button>\n                    <t t-if=\"len(user_id.totp_trusted_device_ids)\">\n                        <table class=\"table o_main_table\">\n                            <thead>\n                                <tr>\n                                    <th><strong>Trusted Device</strong></th>\n                                    <th><strong>Added On</strong></th>\n                                </tr>\n                            </thead>\n                            <tbody>\n                                <tr t-foreach=\"user_id.totp_trusted_device_ids\" t-as=\"td\">\n                                    <td>\n                                        <span t-field=\"td.name\"/>\n                                    </td>\n                                    <td>\n                                        <span t-field=\"td.create_date\"/>\n                                    </td>\n                                    <td>\n                                        <i class=\"fa fa-trash text-danger\" type=\"button\" t-att-id=\"td.id\"/>\n                                    </td>\n                                </tr>\n                            </tbody>\n                        </table>\n                        <button class=\"btn btn-primary\" type=\"button\" id=\"auth_totp_portal_revoke_all_devices\">\n                            Revoke All\n                        </button>\n                    </t>\n                </t>\n            </section>\n        </xpath>\n    </data>", "vi_VN": "<data name=\"TOTP Portal hook\" inherit_id=\"portal.portal_my_security\">\n        <xpath expr=\"//section[@name='portal_change_password']\" position=\"after\">\n            <!--\n                portal users don't have access to non-qweb views anymore, so\n                embed the target view as a *data island* of sorts, a JSON embed\n                of the fields_view_get could have been nice but at 14k it'd be a\n                bit ridiculous\n            -->\n            <div class=\"d-none\" id=\"totp_wizard_view\">\n                <t t-esc=\"env.ref('auth_totp.view_totp_wizard').sudo().get_combined_arch()\"/>\n            </div>\n            <section>\n                <h3>\n                    Xác thực hai yếu tố\n                    <a href=\"https://www.odoo.com/documentation/16.0/applications/general/auth/2fa.html\" target=\"_blank\">\n                        <i title=\"Tài liệu\" class=\"fa fa-fw o_button_icon fa-info-circle\"/>\n                    </a>\n                </h3>\n                <t t-if=\"not user_id.totp_enabled\">\n                    <div class=\"alert alert-secondary\" role=\"status\">\n                        <i class=\"fa fa-warning\"/>\n                        Không bật xác thực hai yếu tố\n                    </div>\n                    <button type=\"button\" class=\"btn btn-secondary\" id=\"auth_totp_portal_enable\">\n                        Bật xác thực hai yếu tố\n                    </button>\n                </t>\n                <t t-else=\"\">\n                    <span class=\"text-success\">\n                        <i class=\"fa fa-check-circle\"/>\n                        Xác thực hai yếu tố đang bật\n                    </span>\n                    <button type=\"button\" class=\"btn btn-link\" id=\"auth_totp_portal_disable\">\n                        (Tắt xác thực hai yếu tố)\n                    </button>\n                    <t t-if=\"len(user_id.totp_trusted_device_ids)\">\n                        <table class=\"table o_main_table\">\n                            <thead>\n                                <tr>\n                                    <th><strong>Thiết bị Đáng tin cậy</strong></th>\n                                    <th><strong>Đã thêm vào</strong></th>\n                                </tr>\n                            </thead>\n                            <tbody>\n                                <tr t-foreach=\"user_id.totp_trusted_device_ids\" t-as=\"td\">\n                                    <td>\n                                        <span t-field=\"td.name\"/>\n                                    </td>\n                                    <td>\n                                        <span t-field=\"td.create_date\"/>\n                                    </td>\n                                    <td>\n                                        <i class=\"fa fa-trash text-danger\" type=\"button\" t-att-id=\"td.id\"/>\n                                    </td>\n                                </tr>\n                            </tbody>\n                        </table>\n                        <button class=\"btn btn-primary\" type=\"button\" id=\"auth_totp_portal_revoke_all_devices\">\n                            Thu hồi Tất cả\n                        </button>\n                    </t>\n                </t>\n            </section>\n        </xpath>\n    </data>"}