[Erp5-report] r7195 - /erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu May 11 13:26:35 CEST 2006
Author: chris
Date: Thu May 11 13:26:34 2006
New Revision: 7195
URL: http://svn.erp5.org?rev=7195&view=rev
Log:
Do not display file edit icon in file infos when file is not editable
Modified:
erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml
Modified: erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml?rev=7195&r1=7194&r2=7195&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml (original)
+++ erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml Thu May 11 13:26:34 2006
@@ -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
More information about the Erp5-report
mailing list