Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
4086 Ansichten

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
März 17
3829
7
Feb. 19
13007
1
Aug. 17
6102
1
Mai 19
3699
2
Dez. 19
2149