[Erp5-report] r7197 - /erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/Bus...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu May 11 14:07:19 CEST 2006
Author: chris
Date: Thu May 11 14:07:16 2006
New Revision: 7197
URL: http://svn.erp5.org?rev=7197&view=rev
Log:
Do not display edit icon in file history if file is not editable
Modified:
erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnLog/my_title.xml
Modified: erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnLog/my_title.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnLog/my_title.xml?rev=7197&r1=7196&r2=7197&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnLog/my_title.xml (original)
+++ erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnLog/my_title.xml Thu May 11 14:07:16 2006
@@ -279,11 +279,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
- <value> <string encoding="cdata"><![CDATA[
-
-python: "<b><a href=\'BusinessTemplate_viewSvnShowFile?file="+here.getPortalObject().portal_preferences.getPreference(\'subversion_working_copy\')+\'/\'+str(here.REQUEST[\'file\'])+"\'>"+here.getPortalObject().portal_preferences.getPreference(\'subversion_working_copy\')+\'/\'+str(here.REQUEST[\'file\'])+"</a></b> <a href=\'"+here.getPortalObject()["portal_subversion"].editPath(here, here.getPortalObject().portal_preferences.getPreference(\'subversion_working_copy\')+\'/\'+str(here.REQUEST[\'file\']))+"\'><img src=\'imgs/edit.png\' border=\'0\'></a>"
-
-]]></string> </value>
+ <value> <string>python: here.getPortalObject()["portal_subversion"].getHeader(here, here.REQUEST[\'file\'])</string> </value>
</item>
</dictionary>
</pickle>
More information about the Erp5-report
mailing list