跳至內容
選單
此問題已被標幟
1 回覆
3547 瀏覽次數

I upload PDF content in v13 Community Edition and a download button appears in the public course viewer. In v13 Odoo demo (Enterprise), the download button does not appear. I cannot find a setting to change this. Is this only in Enterprise? My client does not wish to let students download the files.

頭像
捨棄
最佳答案

Hi Bruce:

The icon is an anchor tag in the underlying view. You can customize the website_slides.embed_slide view by extending it using the following expression to make the download icon disappear.

<xpath expr="//a[@id='download']" position="replace"/>
頭像
捨棄
作者

That worked very well! Thank you.

相關帖文 回覆 瀏覽次數 活動
4
9月 21
7660
1
8月 24
15064
2
1月 23
5715
2
12月 20
6484
2
7月 20
5154