Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3133 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
5975
2
mar. 21
4178
2
mar. 21
9348
0
dec. 20
4050
0
jan. 20
2592