Commit 10cb3f06 authored by Jérome Perrin's avatar Jérome Perrin

display webdav link if user has "WebDAV Access" permission

rewrite the link to have webavs when url is https

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33370 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a23233fb
......@@ -33,7 +33,9 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
......@@ -49,7 +51,7 @@
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
<string>WebDAV access</string>
</tuple>
</value>
</item>
......@@ -79,7 +81,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python:object_url.replace(\'https\', \'webdav\').replace(\'http\', \'webdav\')</string> </value>
<value> <string>python:object_url.replace(\'https\', \'webdavs\', 1).replace(\'http\', \'webdav\', 1)</string> </value>
</item>
</dictionary>
</pickle>
......
1089
\ No newline at end of file
1090
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment