跳至內容
選單
此問題已被標幟
4366 瀏覽次數

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>
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 17
4045
7
2月 19
13384
1
8月 17
6378
1
5月 19
3938
2
12月 19
2503