Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4685 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
4274
7
úno 19
13872
1
srp 17
6609
1
kvě 19
4203
2
pro 19
3122