summaryrefslogtreecommitdiff
path: root/addons/iap/static/src/xml/iap_templates.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/iap/static/src/xml/iap_templates.xml')
-rw-r--r--addons/iap/static/src/xml/iap_templates.xml18
1 files changed, 15 insertions, 3 deletions
diff --git a/addons/iap/static/src/xml/iap_templates.xml b/addons/iap/static/src/xml/iap_templates.xml
index d564c755876..10969dddd3d 100644
--- a/addons/iap/static/src/xml/iap_templates.xml
+++ b/addons/iap/static/src/xml/iap_templates.xml
@@ -16,12 +16,24 @@
</t>
</div>
- <t t-extend="DashboardApps">
- <t t-jquery=".o_web_settings_dashboard_pills > :first-child" t-operation="after">
- <a t-att-href="widget.data.url" class="d-block flex-grow-1 w-25" target="_blank"><i class="fa fa-lg fa-money text-muted"/> In-App Purchases</a>
+ <t t-extend="DashboardMain">
+ <t t-jquery=".o_web_settings_dashboard_apps" t-operation="after">
+ <div class="o_web_settings_dashboard_iap"></div>
</t>
</t>
+ <t t-name="iap.web_settings_dashboard_iap">
+ <div class="text-center o_web_settings_dashboard_iap mt8">
+ <img class="col-5" src="/iap/static/src/img/iap_logo.svg"/>
+ <div class="o_web_settings_dashboard_header mt8">
+ In-App Purchases
+ </div>
+ <div class="mt16">
+ <a t-att-href="widget.data.url" role="button" class="btn btn-primary btn-block o_go_to_portal"><strong>Go to My Portal</strong></a>
+ </div>
+ </div>
+ </t>
+
<div t-name="iap.credit_checker" class="mt-2 row">
<div class="col-sm">
<div class="loading text-muted">