{"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                <h4>\n                    Two-factor authentication\n                    <a href=\"https://www.odoo.com/documentation/master/applications/general/auth/2fa.html\" target=\"_blank\">\n                        <i title=\"Documentation\" class=\"fa fa-fw o_button_icon fa-info-circle\"/>\n                    </a>\n                </h4>\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>", "es_ES": "<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                <h4>\n                    Autenticación de dos factores\n                    <a href=\"https://www.odoo.com/documentation/master/applications/general/auth/2fa.html\" target=\"_blank\">\n                        <i title=\"Documentation\" class=\"fa fa-fw o_button_icon fa-info-circle\"/>\n                    </a>\n                </h4>\n                <t t-if=\"not user_id.totp_enabled\">\n                    <div class=\"alert alert-secondary\" role=\"status\">\n                        <i class=\"fa fa-warning\"/>\n                         Autenticación de dos factores deshabilitada\n                    </div>\n                    <button type=\"button\" class=\"btn btn-secondary\" id=\"auth_totp_portal_enable\">\n                        Habilitar la autenticación de dos factores\n                    </button>\n                </t>\n                <t t-else=\"\">\n                    <span class=\"text-success\">\n                         <i class=\"fa fa-check-circle\"/>\n                         Autenticación de dos factores habilitada\n</span>\n                    <button type=\"button\" class=\"btn btn-link\" id=\"auth_totp_portal_disable\">\n                        (Deshabilitar la autenticación de dos factores)\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>Dispositivo de confianza</strong></th>\n                                    <th><strong>Añadido en</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                            Revocar todo\n                        </button>\n                    </t>\n                </t>\n            </section>\n        </xpath>\n    </data>"}