website_search_products: traducida tabla castellano, añadida regla para permitir consultar productos no publicados en el portal. Añadida cabecera
This commit is contained in:
parent
2257656412
commit
03d72f473d
4 changed files with 23 additions and 8 deletions
|
|
@ -15,6 +15,7 @@
|
|||
],
|
||||
'data': [
|
||||
"data/menu.xml",
|
||||
"data/ir_rule.xml",
|
||||
"views/web_templates.xml"
|
||||
],
|
||||
'demo': [
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-01-12 17:25+0000\n"
|
||||
"PO-Revision-Date: 2023-01-12 18:26+0100\n"
|
||||
"POT-Creation-Date: 2023-01-16 10:53+0000\n"
|
||||
"PO-Revision-Date: 2023-01-16 12:07+0100\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
|
@ -27,6 +27,11 @@ msgstr "Categoría"
|
|||
msgid "Displayed products"
|
||||
msgstr "Productos mostrados"
|
||||
|
||||
#. module: website_search_products
|
||||
#: model_terms:ir.ui.view,arch_db:website_search_products.web_list_products
|
||||
msgid "In this table you can consult all the products available in the store"
|
||||
msgstr "En esta tabla puedes consultar los productos disponibles en tienda"
|
||||
|
||||
#. module: website_search_products
|
||||
#: model_terms:ir.ui.view,arch_db:website_search_products.web_list_products
|
||||
msgid "Name"
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-01-12 17:24+0000\n"
|
||||
"PO-Revision-Date: 2023-01-12 17:24+0000\n"
|
||||
"POT-Creation-Date: 2023-01-16 10:53+0000\n"
|
||||
"PO-Revision-Date: 2023-01-16 10:53+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
|
@ -25,6 +25,11 @@ msgstr ""
|
|||
msgid "Displayed products"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_search_products
|
||||
#: model_terms:ir.ui.view,arch_db:website_search_products.web_list_products
|
||||
msgid "In this table you can consult all the products available in the store"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_search_products
|
||||
#: model_terms:ir.ui.view,arch_db:website_search_products.web_list_products
|
||||
msgid "Name"
|
||||
|
|
|
|||
|
|
@ -18,8 +18,9 @@
|
|||
Products not found
|
||||
</div>
|
||||
</t>
|
||||
<div class="col-md-12" style="text-align: center;"><h2>In this table you can consult all the products available in the store</h2></div>
|
||||
<div class="col-md-12" style="margin-top: 50px;">
|
||||
<table id="productTable" class="table table-stripped" >
|
||||
<table id="productTable" class="table stripe" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
|
@ -45,12 +46,15 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js" />
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/1.11.3/css/jquery.dataTables.min.css" />
|
||||
<script src="https://cdn.datatables.net/1.13.1/js/jquery.dataTables.min.js" />
|
||||
<link rel="stylesheet" href="https://cdn.datatables.net/1.13.1/css/jquery.dataTables.min.css" />
|
||||
<script>
|
||||
$('#productTable').DataTable({
|
||||
"pageLength": 100,
|
||||
"order": [[1, "asc"], [0, "asc"], [2, "desc"]]
|
||||
"order": [[1, "asc"], [0, "asc"], [2, "desc"]],
|
||||
"language": {
|
||||
"url": "https://cdn.datatables.net/plug-ins/1.13.1/i18n/es-ES.json"
|
||||
}
|
||||
});
|
||||
console.log("table init");
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue