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

I want to add custom css class to view, but only for users in some group.


    <template id="customCss" inherit_id="web.webclient_bootstrap" name="add css class">
<xpath expr="//header" position="attributes">
<attribute name="groups">my_module.custom_group</attribute>
// Here instead of showing to only custom group, i want to add css class for that group
</xpath>
</template>
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 17
4120
7
lut 19
13529
1
sie 17
6469
1
maj 19
4016
2
gru 19
2782