Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2696 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
5550
2
mar. 21
3710
2
mar. 21
8763
0
dec. 20
3589
0
jan. 20
2206