diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-05-24 17:59:12 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-07-27 12:36:54 +0200 |
| commit | 7285e152c11ea8cc359e0710a24cf14ff6675d39 (patch) | |
| tree | c3456875377d7964949a82eddac2a65f1aadb7d6 /addons/website_customer | |
| parent | f4fbaf1efae11e8bd3b1a2938ab765d391764a1b (diff) | |
[REF] *: BS4, adapt the badge component structure
The '.badge' elements must now also use the 'badge-pill' class to get
the same style as before as '.badge' elements without it are meant to
replace the old 'label' component.
Diffstat (limited to 'addons/website_customer')
| -rw-r--r-- | addons/website_customer/views/website_customer_templates.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_customer/views/website_customer_templates.xml b/addons/website_customer/views/website_customer_templates.xml index a5f11dc6e95..b40caac2ffa 100644 --- a/addons/website_customer/views/website_customer_templates.xml +++ b/addons/website_customer/views/website_customer_templates.xml @@ -96,7 +96,7 @@ <li class="nav-item"> <a t-attf-href="/customers/#{ industry_dict['industry_id'][0] and 'industry/%s/' % slug(industry_dict['industry_id']) or '' }#{ current_country_id and 'country/%s' % current_country_id or '' }#{ search_path }" t-attf-class="nav-link#{industry_dict['industry_id'][0] == current_industry_id and ' active' or ''}"> - <span class="badge pull-right" t-esc="industry_dict['industry_id_count'] or '0'"/> + <span class="badge badge-pill pull-right" t-esc="industry_dict['industry_id_count'] or '0'"/> <t t-esc="industry_dict['industry_id'][1]"/> </a> </li> @@ -115,7 +115,7 @@ <li class="nav-item"> <a t-attf-href="/customers/#{ current_industry_id and 'industry/%s/' % slug(current_industry) or '' }#{ country_dict['country_id'][0] and 'country/%s' % slug(country_dict['country_id']) or '' }#{ search_path }" t-attf-class="nav-link#{country_dict['country_id'][0] == current_country_id and ' active' or ''}"> - <span class="badge pull-right" t-esc="country_dict['country_id_count'] or '0'"/> + <span class="badge badge-pill pull-right" t-esc="country_dict['country_id_count'] or '0'"/> <t t-esc="country_dict['country_id'][1]"/> </a> </li> |
