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

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
4086
7
2月 19
13468
1
8月 17
6437
1
5月 19
4003
2
12月 19
2585