Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4466 Zobrazení

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šit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 17
4110
7
úno 19
13496
1
srp 17
6452
1
kvě 19
4011
2
pro 19
2604