summaryrefslogtreecommitdiff
path: root/addons/iap/static
diff options
context:
space:
mode:
authorRémi Rahir <rar@odoo.com>2018-01-26 11:25:46 +0100
committerRémi Rahir <rar@odoo.com>2018-01-28 16:32:14 +0100
commit4669a4a91fba1c8f731ebfbcfdef7833b9b305dc (patch)
tree439e8e07058ca9edc09573c629b3deb1b97e3c55 /addons/iap/static
parent53c9858656ddda861b9f90a06f2c08961d6e0f09 (diff)
[FIX] iap: account link not wworking in saas
Before this commit, the dashboard pill taht allows the user to consult his iap accounts was hidden for saas users as it is grouped with the app store and theme buttons which are not supposed to be shown since they are not available in saas. This commit ensures taht the button will be shown both on saas and premise instances.
Diffstat (limited to 'addons/iap/static')
-rw-r--r--addons/iap/static/src/xml/iap_templates.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/addons/iap/static/src/xml/iap_templates.xml b/addons/iap/static/src/xml/iap_templates.xml
index 9b52a4ec445..4995c4527e3 100644
--- a/addons/iap/static/src/xml/iap_templates.xml
+++ b/addons/iap/static/src/xml/iap_templates.xml
@@ -17,9 +17,11 @@
</div>
<t t-extend="DashboardApps">
- <t t-jquery=".o_web_settings_dashboard_pills" t-operation="append">
- <a class="pull-right" t-att-href="widget.data.url" target="_blank">
- <i class="fa fa-money fa-2x text-muted"/> In-App Purchases</a>
+ <t t-jquery=".o_web_settings_dashboard_pills" t-operation="after">
+ <div class="text-center" style="display: inline-block">
+ <a t-att-href="widget.data.url" target="_blank">
+ <i class="fa fa-money fa-2x text-muted"/> In-App Purchases</a>
+ </div>
</t>
</t>