Hello,
In Odoo 18, I have a template like this:
<odoo>
<template id="custom_internal_layout" inherit_id="web.internal_layout">
<xpath expr="//div[@class='article']" position="after">
<div class="footer">
Page <span class="page"/> / <span class="topage"/>
</div>
</xpath>
</template>
</odoo>
This modified template works well: In all the pages it write Page 1 / 5 etc.
However, I don't know how to have a different text in the first page, and this: "Page x / 5" in the other pages.
Could you help me to implement this?