[IMP] website_portal_sale: replace typo Quotes by Quotations

Uniformize the homepage portal where no records.
This commit is contained in:
Jeremy Kersten
2017-02-01 09:05:30 +01:00
parent 57e2936fcc
commit 0e766c2405
4 changed files with 14 additions and 14 deletions
@@ -215,7 +215,7 @@
<span class='badge'><t t-esc="lead_count"/></span>
</t>
<t t-if="not lead_count">
There are currently no leads for your account.
There are currently no leads.
</t>
</small>
</a>
@@ -227,7 +227,7 @@
<span class='badge'><t t-esc="opp_count"/></span>
</t>
<t t-if="not opp_count">
There are currently no opportunities for your account.
There are currently no opportunities.
</t>
</small>
</a>
@@ -9,7 +9,7 @@
<template id="portal_my_home_menu_sale" name="Portal layout : sales menu entries" inherit_id="website_portal.portal_layout" priority="25">
<xpath expr="//ul[contains(@class,'o_portal_submenu')]" position="inside">
<li t-att-class="page_name == 'quote' and 'active'">
<a href="/my/quotes">Quotes</a>
<a href="/my/quotes">Quotations</a>
</li>
<li t-att-class="page_name == 'order' and 'active'">
<a href="/my/orders">Orders</a>
@@ -23,13 +23,13 @@
<template id="portal_my_home_sale" name="Portal My Home : sales entries" inherit_id="website_portal.portal_my_home" priority="25">
<xpath expr="//div[contains(@class,'o_my_home_content')]" position="inside">
<h3 class="page-header">
<a href="/my/quotes">Your Quotes
<a href="/my/quotes">Your Quotations
<small class="ml8">
<t t-if="quotation_count">
<span class='badge'><t t-esc="quotation_count"/></span>
</t>
<t t-if="not quotation_count">
There are currently no quotes for your account.
There are currently no quotations.
</t>
</small>
</a>
@@ -41,7 +41,7 @@
<span class='badge'><t t-esc="order_count"/></span>
</t>
<t t-if="not order_count">
There are currently no orders for your account.
There are currently no orders.
</t>
</small>
</a>
@@ -53,7 +53,7 @@
<span class='badge'><t t-esc="invoice_count"/></span>
</t>
<t t-if="not invoice_count">
There are currently no invoices for your account.
There are currently no invoices and payments.
</t>
</small>
</a>
@@ -64,11 +64,11 @@
<template id="portal_my_quotations" name="My Quotations">
<t t-call="website_portal.portal_layout">
<div class="page-header">
<span class="h3">Your Quotes</span>
<span class="h3">Your Quotations</span>
<t t-call="website_portal.portal_searchbar"/>
</div>
<t t-if="not quotations">
<p>There are currently no quotes for your account.</p>
<p>There are currently no quotations for your account.</p>
</t>
<t t-if="quotations">
<div class="table-responsive"><table class="table table-hover o_my_status_table">
@@ -162,7 +162,7 @@
<t t-call="website_portal.portal_searchbar"/>
</div>
<t t-if="not invoices">
<p>There are currently no invoices for your account.</p>
<p>There are currently no invoices and payments for your account.</p>
</t>
<t t-if="invoices">
<div class="table-responsive"><table class="table table-hover o_my_status_table">
@@ -220,7 +220,7 @@
<li>
<a t-attf-href="/my/#{'quotes' if order.state == 'sent' else 'orders'}?{{ keep_query()}}">
<t t-if="order.state == 'sent'">
My Quotes
My Quotations
</t>
<t t-if="order.state != 'sent'">
My Orders
@@ -20,7 +20,7 @@
<span class='badge'><t t-esc="project_count"/></span>
</t>
<t t-if="not project_count">
There are currently no projects for your account.
There are currently no projects.
</t>
</small>
</a>
@@ -32,7 +32,7 @@
<span class='badge'><t t-esc="task_count"/></span>
</t>
<t t-if="not task_count">
There are currently no quotes for your account.
There are currently no quotes.
</t>
</small>
</a>
@@ -18,7 +18,7 @@
<span class='badge'><t t-esc="issue_count"/></span>
</t>
<t t-if="not issue_count">
There are currently no issues for your account.
There are currently no issues.
</t>
</small>
</a>