Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 17
3854
7
feb 19
13092
1
ago 17
6162
1
may 19
3773
2
dic 19
2253