Commit f51b786c authored by Christophe Dumez's avatar Christophe Dumez

Do not display file edit icon in file infos when file is not editable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7195 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dd2d959d
......@@ -60,7 +60,8 @@
\n
<font color=\'black\'>\n
<br><a tal:attributes="href python:\'BusinessTemplate_viewSvnShowFile?file=\'+str(path)"><b tal:content="python:context.getPortalObject()[\'portal_subversion\'].relativeToAbsolute(path,context)"></b></a>\n
<a tal:attributes="href context/edit_path"><img src=\'imgs/edit.png\' border=\'0\'></a><hr><br>\n
<span tal:condition="python:context.edit_path!=\'#\'"><a tal:attributes="href context/edit_path"><img src=\'imgs/edit.png\' border=\'0\'></a></span>\n
<hr><br>\n
<span tal:condition="infos_dict">\n
<table width=60%% border=1>\n
<tr height="18px"><td style=\'background-color: rgb(204, 204, 255);\'><b>Name</b></td><td style=\'background-color: white;\' tal:content="python:path.split(\'/\')[-1]">filename</td></tr>\n
......
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