Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
4597 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
mar. 17
4195
7
feb. 19
13753
1
aug. 17
6534
1
maj 19
4098
2
dec. 19
3004