Skip to Content
Menu
This question has been flagged
4588 Zobrazenia

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
mar 17
4190
7
feb 19
13744
1
aug 17
6528
1
máj 19
4094
2
dec 19
2993