diff options
| author | Pierre Rousseau <pro@odoo.com> | 2018-12-06 13:26:16 +0000 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2019-01-02 10:22:12 +0000 |
| commit | 405705de2b59c68f4a2585e31a09ae623a6d7c89 (patch) | |
| tree | 7ccfc9390b609712201565ee730c18a70b88c106 /addons/iap/static/src/xml/iap_templates.xml | |
| parent | c299225020441106f9a67883b92f830e90fa902c (diff) | |
[IMP] crm, iap, sms, snailmail_account, partner_autocomplete: replace credit checker widget
Remove the check of the balance for the IAP accounts in the settings.
Add a link to buy credits to all of the services in the settings.
Task #1909302
Diffstat (limited to 'addons/iap/static/src/xml/iap_templates.xml')
| -rw-r--r-- | addons/iap/static/src/xml/iap_templates.xml | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/addons/iap/static/src/xml/iap_templates.xml b/addons/iap/static/src/xml/iap_templates.xml index 10969dddd3d..42f1f1ec035 100644 --- a/addons/iap/static/src/xml/iap_templates.xml +++ b/addons/iap/static/src/xml/iap_templates.xml @@ -34,23 +34,9 @@ </div> </t> - <div t-name="iap.credit_checker" class="mt-2 row"> - <div class="col-sm"> - <div class="loading text-muted"> - <i class="fa fa-spinner fa-spin"/> Checking remaining credit ... - </div> - <div class="insufficient"> - <i class="fa fa-exclamation-triangle text-warning"/> Insufficient credit - </div> - <div class="sufficient"> - <i class="fa fa-check-circle text-success"/> Remaining : <b class="remaining_credits"/> credits - </div> - <div class="error"> - <i class="fa fa-question-circle text-muted"/> Temporarily unavailable - </div> - </div> + <div t-name="iap.buy_more_credits" class="mt-2 row"> <div class="col-sm text-right"> - <button class="btn btn-link buy_credits"><i class="fa fa-arrow-right"/> Buy more credits</button> + <button class="btn btn-link buy_credits"><i class="fa fa-arrow-right"/> Buy credits</button> </div> </div> </template> |
