diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/iap/static/src/xml | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/iap/static/src/xml')
| -rw-r--r-- | addons/iap/static/src/xml/iap_templates.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/addons/iap/static/src/xml/iap_templates.xml b/addons/iap/static/src/xml/iap_templates.xml new file mode 100644 index 00000000..f35496d8 --- /dev/null +++ b/addons/iap/static/src/xml/iap_templates.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<template id="template" xml:space="preserve"> + + <!-- LAYOUT TEMPLATES --> + <div t-name="iap.redirect_to_odoo_credit"> + <t t-if="data.body"> + <div t-raw="data.body"/> + </t> + <t t-if="!data.body"> + <t t-if="data.message"> + <span t-esc="data.message"/> + </t> + <t t-if="!data.message"> + <span>Insufficient credit to perform this service.</span> + </t> + </t> + </div> + + <t t-extend="DashboardMain"> + <t t-jquery=".o_web_settings_apps" t-operation="after"> + <div class="o_web_settings_iap"></div> + </t> + </t> + + <div t-name="iap.buy_more_credits" class="mt-2 row"> + <div class="col-sm"> + <button class="btn btn-link buy_credits o-hidden-ios"><i class="fa fa-arrow-right"/> Buy credits</button> + </div> + </div> +</template> |
