Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4414 Представления

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>
Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
мар. 17
4069
7
февр. 19
13442
1
авг. 17
6406
1
мая 19
3971
2
дек. 19
2561