Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2691 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
okt. 22
5548
2
mar. 21
3705
2
mar. 21
8759
0
dec. 20
3586
0
jan. 20
2204