Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2961 มุมมอง

Hi guys!

I'm using t-if conditions inside my qweb templates in order o modify what I want to display on my UI Website based on the curren language:


< div  t-if="request.env.lang == 'en_US'">
// EN Content
< / div>
< div  t-if="request.env.lang == 'es_MX'">
// ES content
< / div>



The problem is, when i save my changes, my qweb conditions works properly but I am not able to add any other snippet in the UI. All snippets appear in "red" and disabled to drag.


How can I solve this?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ต.ค. 22
6022
2
มี.ค. 21
4218
2
มี.ค. 21
9386
0
ธ.ค. 20
4091
0
พ.ค. 20
3153