{"en_US": "<data inherit_id=\"http_routing.500\">\n    <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->\n    <!-- This template should not use any variable except those provided by website.ir_http._handle_exception  -->\n    <!--    no request.crsf_token, no theme style, no assets, ... cursor can be broken during rendering !      -->\n    <!--    see test_05_reset_specific_view_controller_broken_request                                          -->\n    <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->\n    <xpath expr=\"//script[last()]\" position=\"before\">\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/util/component-functions.js\"/>\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/util/backdrop.js\"/>\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/util/focustrap.js\"/>\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/util/scrollbar.js\"/>\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/modal.js\"/>\n    </xpath>\n    <xpath expr=\"//style\" position=\"after\">\n        <t t-if=\"view\">\n            <script>\n                $(document).ready(function() {\n                    var button = $('.reset_templates_button');\n                    button.click(function() {\n                        $('#reset_templates_mode').val($(this).data('mode'));\n                        var dialog = $('#reset_template_confirmation').modal('show');\n                        var input = dialog.find('input[type=\"text\"]').val('').focus();\n                        var dialog_form = dialog.find('form');\n                        dialog_form.submit(function() {\n                            if (input.val() == dialog.find('.confirm_word').text()) {\n                                dialog.modal('hide');\n                                button.prop('disabled', true).text('Working...');\n                                const id = document.querySelector('input[id=\"reset_templates_view_id\"]').value;\n                                const redirect = document.querySelector('input[name=\"redirect\"]').value;\n                                const mode = document.querySelector('input[id=\"reset_templates_mode\"]').value;\n                                fetch('/website/reset_template', {\n                                    method: \"POST\",\n                                    headers: {\n                                        \"Content-Type\": \"application/json\",\n                                    },\n                                    'body': JSON.stringify({'params': {'view_id': id, 'mode': mode}})\n                                }).then(() =&gt; window.location = redirect);\n                            } else {\n                                input.val('').focus();\n                            }\n                            return false;\n                        });\n                        return false;\n                    });\n                });\n            </script>\n        </t>\n    </xpath>\n    <xpath expr=\"//div[@id='wrapwrap']\" position=\"before\">\n        <div t-if=\"view\" role=\"dialog\" id=\"reset_template_confirmation\" class=\"modal\" tabindex=\"-1\" t-ignore=\"true\">\n            <div class=\"modal-dialog\">\n                <form role=\"form\">\n                    <div class=\"modal-content\">\n                        <header class=\"modal-header\">\n                            <h4 class=\"modal-title\">Reset templates</h4>\n                            <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"/>\n                        </header>\n                        <main class=\"modal-body\">\n                            <div class=\"row mb0\">\n                                <label for=\"page-name\" class=\"col-md-12 col-form-label\">\n                                    <p>The selected templates will be reset to their factory settings.</p>\n                                </label>\n                            </div>\n                            <div class=\"row mb0\">\n                                <label for=\"page-name\" class=\"col-md-9 col-form-label\">\n                                    <p>Type '<i class=\"confirm_word\">yes</i>' in the box below if you want to confirm.</p>\n                                </label>\n                                <div class=\"col-md-3 mt16\">\n                                    <input type=\"text\" id=\"page-name\" class=\"form-control\" required=\"required\" placeholder=\"yes\"/>\n                                </div>\n                            </div>\n                        </main>\n                        <footer class=\"modal-footer\">\n                            <button type=\"button\" class=\"btn\" data-bs-dismiss=\"modal\" aria-label=\"Cancel\">Cancel</button>\n                            <input type=\"submit\" value=\"Confirm\" class=\"btn btn-primary\"/>\n                        </footer>\n                    </div>\n                </form>\n            </div>\n        </div>\n    </xpath>\n    <xpath expr=\"//div[@id='error_message']\" position=\"after\">\n        <div class=\"container\" t-if=\"view and editable\">\n            <div class=\"alert alert-danger\" role=\"alert\">\n                <h4>Template fallback</h4>\n                <p>An error occurred while rendering the template <code t-esc=\"qweb_exception.name\"/>.</p>\n                <p>If this error is caused by a change of yours in the templates, you have the possibility to reset the template to its <strong>factory settings</strong>.</p>\n                <form action=\"#\" method=\"post\" id=\"reset_templates_form\">\n                    <ul>\n                        <li>\n                            <label>\n                                <t t-esc=\"view.name\"/>\n                            </label>\n                        </li>\n                    </ul>\n                    <input type=\"hidden\" name=\"redirect\" t-att-value=\"request.httprequest.path\"/>\n                    <input type=\"hidden\" id=\"reset_templates_view_id\" name=\"view_id\" t-att-value=\"view.id\"/>\n                    <input type=\"hidden\" id=\"reset_templates_mode\" name=\"mode\"/>\n                    <button data-mode=\"soft\" class=\"reset_templates_button btn btn-info\">Restore previous version (soft reset).</button>\n                    <button t-if=\"view.arch_fs\" data-mode=\"hard\" class=\"reset_templates_button btn btn-outline-danger\">Reset to initial version (hard reset).</button>\n                </form>\n            </div>\n        </div>\n    </xpath>\n</data>", "es_ES": "<data inherit_id=\"http_routing.500\">\n    <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->\n    <!-- This template should not use any variable except those provided by website.ir_http._handle_exception  -->\n    <!--    no request.crsf_token, no theme style, no assets, ... cursor can be broken during rendering !      -->\n    <!--    see test_05_reset_specific_view_controller_broken_request                                          -->\n    <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->\n    <xpath expr=\"//script[last()]\" position=\"before\">\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/util/component-functions.js\"/>\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/util/backdrop.js\"/>\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/util/focustrap.js\"/>\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/util/scrollbar.js\"/>\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/modal.js\"/>\n    </xpath>\n    <xpath expr=\"//style\" position=\"after\">\n        <t t-if=\"view\">\n            <script>\n                $(document).ready(function() {\n                    var button = $('.reset_templates_button');\n                    button.click(function() {\n                        $('#reset_templates_mode').val($(this).data('mode'));\n                        var dialog = $('#reset_template_confirmation').modal('show');\n                        var input = dialog.find('input[type=\"text\"]').val('').focus();\n                        var dialog_form = dialog.find('form');\n                        dialog_form.submit(function() {\n                            if (input.val() == dialog.find('.confirm_word').text()) {\n                                dialog.modal('hide');\n                                button.prop('disabled', true).text('Working...');\n                                const id = document.querySelector('input[id=\"reset_templates_view_id\"]').value;\n                                const redirect = document.querySelector('input[name=\"redirect\"]').value;\n                                const mode = document.querySelector('input[id=\"reset_templates_mode\"]').value;\n                                fetch('/website/reset_template', {\n                                    method: \"POST\",\n                                    headers: {\n                                        \"Content-Type\": \"application/json\",\n                                    },\n                                    'body': JSON.stringify({'params': {'view_id': id, 'mode': mode}})\n                                }).then(() =&gt; window.location = redirect);\n                            } else {\n                                input.val('').focus();\n                            }\n                            return false;\n                        });\n                        return false;\n                    });\n                });\n            </script>\n        </t>\n    </xpath>\n    <xpath expr=\"//div[@id='wrapwrap']\" position=\"before\">\n        <div t-if=\"view\" role=\"dialog\" id=\"reset_template_confirmation\" class=\"modal\" tabindex=\"-1\" t-ignore=\"true\">\n            <div class=\"modal-dialog\">\n                <form role=\"form\">\n                    <div class=\"modal-content\">\n                        <header class=\"modal-header\">\n                            <h4 class=\"modal-title\">Restablecer plantillas</h4>\n                            <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Cerrar\"/>\n                        </header>\n                        <main class=\"modal-body\">\n                            <div class=\"row mb0\">\n                                <label for=\"page-name\" class=\"col-md-12 col-form-label\">\n                                    <p>Las plantillas seleccionadas serán restablecidas a su configuración predeterminada.</p>\n                                </label>\n                            </div>\n                            <div class=\"row mb0\">\n                                <label for=\"page-name\" class=\"col-md-9 col-form-label\">\n                                    <p>Escriba '<i class=\"confirm_word\">si</i>' a continuación si quiere confirmar.</p>\n                                </label>\n                                <div class=\"col-md-3 mt16\">\n                                    <input type=\"text\" id=\"page-name\" class=\"form-control\" required=\"required\" placeholder=\"sí\"/>\n                                </div>\n                            </div>\n                        </main>\n                        <footer class=\"modal-footer\">\n                            <button type=\"button\" class=\"btn\" data-bs-dismiss=\"modal\" aria-label=\"Cancelar\">Cancelar</button>\n                            <input type=\"submit\" value=\"Confirm\" class=\"btn btn-primary\"/>\n                        </footer>\n                    </div>\n                </form>\n            </div>\n        </div>\n    </xpath>\n    <xpath expr=\"//div[@id='error_message']\" position=\"after\">\n        <div class=\"container\" t-if=\"view and editable\">\n            <div class=\"alert alert-danger\" role=\"alert\">\n                <h4>Alternativa a la plantilla</h4>\n                <p>Ocurrió un error al visualizar la plantilla <code t-esc=\"qweb_exception.name\"/>.</p>\n                <p>Si este error es causado por un cambio suyo en las plantillas, tiene la posibilidad de restablecer la plantilla a su <strong>configuración de fábrica</strong>.</p>\n                <form action=\"#\" method=\"post\" id=\"reset_templates_form\">\n                    <ul>\n                        <li>\n                            <label>\n                                <t t-esc=\"view.name\"/>\n                            </label>\n                        </li>\n                    </ul>\n                    <input type=\"hidden\" name=\"redirect\" t-att-value=\"request.httprequest.path\"/>\n                    <input type=\"hidden\" id=\"reset_templates_view_id\" name=\"view_id\" t-att-value=\"view.id\"/>\n                    <input type=\"hidden\" id=\"reset_templates_mode\" name=\"mode\"/>\n                    <button data-mode=\"soft\" class=\"reset_templates_button btn btn-info\">Restaurar la versión anterior (restablecimiento parcial).</button>\n                    <button t-if=\"view.arch_fs\" data-mode=\"hard\" class=\"reset_templates_button btn btn-outline-danger\">Restablecer a la versión inicial (restablecimiento completo).</button>\n                </form>\n            </div>\n        </div>\n    </xpath>\n</data>", "pt_PT": "<data inherit_id=\"http_routing.500\">\n    <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->\n    <!-- This template should not use any variable except those provided by website.ir_http._handle_exception  -->\n    <!--    no request.crsf_token, no theme style, no assets, ... cursor can be broken during rendering !      -->\n    <!--    see test_05_reset_specific_view_controller_broken_request                                          -->\n    <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->\n    <xpath expr=\"//script[last()]\" position=\"before\">\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/util/component-functions.js\"/>\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/util/backdrop.js\"/>\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/util/focustrap.js\"/>\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/util/scrollbar.js\"/>\n        <script type=\"text/javascript\" src=\"/web/static/lib/bootstrap/js/dist/modal.js\"/>\n    </xpath>\n    <xpath expr=\"//style\" position=\"after\">\n        <t t-if=\"view\">\n            <script>\n                $(document).ready(function() {\n                    var button = $('.reset_templates_button');\n                    button.click(function() {\n                        $('#reset_templates_mode').val($(this).data('mode'));\n                        var dialog = $('#reset_template_confirmation').modal('show');\n                        var input = dialog.find('input[type=\"text\"]').val('').focus();\n                        var dialog_form = dialog.find('form');\n                        dialog_form.submit(function() {\n                            if (input.val() == dialog.find('.confirm_word').text()) {\n                                dialog.modal('hide');\n                                button.prop('disabled', true).text('Working...');\n                                const id = document.querySelector('input[id=\"reset_templates_view_id\"]').value;\n                                const redirect = document.querySelector('input[name=\"redirect\"]').value;\n                                const mode = document.querySelector('input[id=\"reset_templates_mode\"]').value;\n                                fetch('/website/reset_template', {\n                                    method: \"POST\",\n                                    headers: {\n                                        \"Content-Type\": \"application/json\",\n                                    },\n                                    'body': JSON.stringify({'params': {'view_id': id, 'mode': mode}})\n                                }).then(() =&gt; window.location = redirect);\n                            } else {\n                                input.val('').focus();\n                            }\n                            return false;\n                        });\n                        return false;\n                    });\n                });\n            </script>\n        </t>\n    </xpath>\n    <xpath expr=\"//div[@id='wrapwrap']\" position=\"before\">\n        <div t-if=\"view\" role=\"dialog\" id=\"reset_template_confirmation\" class=\"modal\" tabindex=\"-1\" t-ignore=\"true\">\n            <div class=\"modal-dialog\">\n                <form role=\"form\">\n                    <div class=\"modal-content\">\n                        <header class=\"modal-header\">\n                            <h4 class=\"modal-title\">Redefinir templates</h4>\n                            <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Encerrar\"/>\n                        </header>\n                        <main class=\"modal-body\">\n                            <div class=\"row mb0\">\n                                <label for=\"page-name\" class=\"col-md-12 col-form-label\">\n                                    <p>Os modelos selecionados serão reiniciados para as definições predefinidas.</p>\n                                </label>\n                            </div>\n                            <div class=\"row mb0\">\n                                <label for=\"page-name\" class=\"col-md-9 col-form-label\">\n                                    <p>Escreva '<i class=\"confirm_word\">sim</i>' na caixa abaixo se quiser confirmar.</p>\n                                </label>\n                                <div class=\"col-md-3 mt16\">\n                                    <input type=\"text\" id=\"page-name\" class=\"form-control\" required=\"required\" placeholder=\"sim\"/>\n                                </div>\n                            </div>\n                        </main>\n                        <footer class=\"modal-footer\">\n                            <button type=\"button\" class=\"btn\" data-bs-dismiss=\"modal\" aria-label=\"Cancelar\">Cancelar</button>\n                            <input type=\"submit\" value=\"Confirm\" class=\"btn btn-primary\"/>\n                        </footer>\n                    </div>\n                </form>\n            </div>\n        </div>\n    </xpath>\n    <xpath expr=\"//div[@id='error_message']\" position=\"after\">\n        <div class=\"container\" t-if=\"view and editable\">\n            <div class=\"alert alert-danger\" role=\"alert\">\n                <h4>Template fallback</h4>\n                <p>Houve um erro ao renderizar o modelo <code t-esc=\"qweb_exception.name\"/>.</p>\n                <p>Se este erro for causado por uma mudança sua nos modelos, você tem a possibilidade de redefinir o modelo para a sua <strong>definição de fábrica</strong>.</p>\n                <form action=\"#\" method=\"post\" id=\"reset_templates_form\">\n                    <ul>\n                        <li>\n                            <label>\n                                <t t-esc=\"view.name\"/>\n                            </label>\n                        </li>\n                    </ul>\n                    <input type=\"hidden\" name=\"redirect\" t-att-value=\"request.httprequest.path\"/>\n                    <input type=\"hidden\" id=\"reset_templates_view_id\" name=\"view_id\" t-att-value=\"view.id\"/>\n                    <input type=\"hidden\" id=\"reset_templates_mode\" name=\"mode\"/>\n                    <button data-mode=\"soft\" class=\"reset_templates_button btn btn-info\">Restaurar versão anterior (reinicialização flexível).</button>\n                    <button t-if=\"view.arch_fs\" data-mode=\"hard\" class=\"reset_templates_button btn btn-outline-danger\">Reiniciar para versão inicial (reinicialização forçada).</button>\n                </form>\n            </div>\n        </div>\n    </xpath>\n</data>"}