Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2775 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
5626
2
bře 21
3794
2
bře 21
8875
0
pro 20
3666
0
led 20
2269