Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
paź 22
6033
2
mar 21
4231
2
mar 21
9412
0
gru 20
4102
0
maj 20
3175