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

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
4341
7
2月 19
14018
1
8月 17
6700
1
5月 19
4259
2
12月 19
3246