Skip to Content
मेन्यू
This question has been flagged

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>
Avatar
Discard
Related Posts Replies Views Activity
0
मार्च 17
4064
7
फ़र॰ 19
13426
1
अग॰ 17
6395
1
मई 19
3952
2
दिस॰ 19
2551