Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4415 Vizualizări

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>
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mar. 17
4070
7
feb. 19
13442
1
aug. 17
6406
1
mai 19
3972
2
dec. 19
2562