Debian Codegraph @

addons/payment_mercado_pago/views/payment_mercado_pago_templates.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <odoo>
4
5 <template id="redirect_form">
6 <!-- Mercado Pago generates a unique URL for each payment request. -->
7 <form t-att-action="api_url" method="get">
8 <t t-foreach="url_params" t-as="param">
9 <input type="hidden" t-att-name="param" t-att-value="url_params[param]" />
10 </t>
11 </form>
12 </template>
13
14 <template id="inline_form">
15 <div t-attf-id="o_mercado_pago_brick_container_{{provider_sudo.id}}_{{pm_sudo.id}}"/>
16 </template>
17
18 <!-- Variables description:
19 - 'error_message' - The reason of the error.
20 - 'provider_url' - The URL to the Mercado Pago provider.
21 -->
22 <template id="authorization_error">
23 <t t-call="portal.frontend_layout">
24 <div class="wrap">
25 <div class="container">
26 <h1>An error occurred</h1>
27 <p>An error occurred while linking your Mercado Pago account with Odoo.</p>
28 <p><t t-out="error_message"/></p>
29 <a t-att-href="provider_url" class="btn btn-primary mt-2">
30 Back to the Mercado Pago provider
31 </a>
32 </div>
33 </div>
34 </t>
35 </template>
36
37
38 </odoo>