You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
32 lines
1.0 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2018 Rémy Taymans <remytaymans@gmail.com>
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
-->
|
|
<odoo>
|
|
|
|
<!-- Add eater information -->
|
|
<template
|
|
id="website_eater_details_side"
|
|
name="Website Eater Details Side"
|
|
priority="50"
|
|
inherit_id="portal.portal_layout">
|
|
<xpath expr="//div[hasclass('o_portal_my_details')]" position="after">
|
|
<div class="o_my_details_eater mt-2">
|
|
<h4 class="page-header">Your Eaters</h4>
|
|
<hr class="mt-1 mb-0"/>
|
|
<p>
|
|
<ul t-if="eaters">
|
|
<li t-foreach="eaters" t-as="eater">
|
|
<t t-esc="eater.name"/>
|
|
</li>
|
|
</ul>
|
|
<span t-if="not eaters">
|
|
You have no eaters
|
|
</span>
|
|
</p>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|