Skip to Content
Menu
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
Mar 17
3438
7
Feb 19
12272
1
Aug 17
5601
1
May 19
3156
2
Dec 19
1648