[IMP] web: remove layout footer labels
Purpose of the task is to reduce the content of the footer by removing the phone, email, website labels as those are implicit. In this commit, -Removed 'Phone:', 'Email:', and 'Web:' in web.external_layout_standard -Removed 'Tel:', 'Mail:' and 'Web:' in web.external_layout_boxed Task-1942363 closes odoo/odoo#43381 Closes: #43381 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
committed by
Barad Mahendra
parent
e25aec5631
commit
6b4df7538c
@@ -209,9 +209,9 @@
|
||||
<div class="footer o_boxed_footer">
|
||||
<div class="text-center">
|
||||
<ul class="list-inline">
|
||||
<li t-if="company.phone" class="list-inline-item">Tel: <span t-field="company.phone"/></li>
|
||||
<li t-if="company.email" class="list-inline-item">Mail: <span t-field="company.email"/></li>
|
||||
<li t-if="company.website" class="list-inline-item">Web: <span t-field="company.website"/></li>
|
||||
<li t-if="company.phone" class="list-inline-item"><span t-field="company.phone"/></li>
|
||||
<li t-if="company.email" class="list-inline-item"><span t-field="company.email"/></li>
|
||||
<li t-if="company.website" class="list-inline-item"><span t-field="company.website"/></li>
|
||||
<li t-if="company.vat" class="list-inline-item"><t t-esc="company.country_id.vat_label or 'Tax ID'"/>: <span t-field="company.vat"/></li>
|
||||
</ul>
|
||||
<div t-field="company.report_footer"/>
|
||||
@@ -300,9 +300,9 @@
|
||||
<ul class="list-inline mb4">
|
||||
<!-- using the list-inline-item class from bootstrap causes weird behaviours in pdf report
|
||||
adding d-inline class fixes the problem-->
|
||||
<li t-if="company.phone" class="list-inline-item d-inline">Phone: <span t-field="company.phone"/></li>
|
||||
<li t-if="company.email" class="list-inline-item d-inline">Email: <span t-field="company.email"/></li>
|
||||
<li t-if="company.website" class="list-inline-item d-inline">Web: <span t-field="company.website"/></li>
|
||||
<li t-if="company.phone" class="list-inline-item d-inline"><span t-field="company.phone"/></li>
|
||||
<li t-if="company.email" class="list-inline-item d-inline"><span t-field="company.email"/></li>
|
||||
<li t-if="company.website" class="list-inline-item d-inline"><span t-field="company.website"/></li>
|
||||
<li t-if="company.vat" class="list-inline-item d-inline"><t t-esc="company.country_id.vat_label or 'Tax ID'"/>: <span t-field="company.vat"/></li>
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user