Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2922 Zobrazení

Hi, 

I know that we can use <span class="page"/>  in order to display actual page number,

but I need to set an actual page in a variable to use it in a if statement:


<t t-if="actual_page_num == 2">

        Display something ...

</t>


Any idea how to manage it? Thank you.



Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
říj 22
5760
2
bře 21
3904
2
bře 21
9027
0
pro 20
3807
0
led 20
2385