コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4390 ビュー

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
4055
7
2月 19
13413
1
8月 17
6388
1
5月 19
3946
2
12月 19
2539