Commit 828b83b3 authored by Christophe Dumez's avatar Christophe Dumez

Fixed a missing parameter bug when trying to see a diff between two old revisions

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7129 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3c3062be
...@@ -82,7 +82,7 @@ if len(revisions_list) != 2:\n ...@@ -82,7 +82,7 @@ if len(revisions_list) != 2:\n
\n \n
revisions_list.sort()\n revisions_list.sort()\n
\n \n
diff = "<b><font color=\'black\'>Index: <a href=\'BusinessTemplate_viewSvnShowFile?file="+context.getPortalObject()["portal_subversion"].relativeToAbsolute(file, context)+"\'>"+context.getPortalObject()["portal_subversion"].relativeToAbsolute(file)+"</a> <a href=\'"+context.getPortalObject()["portal_subversion"].editPath(context, file)+"\'><img src=\'imgs/edit.png\' border=\'0\'></a><br>"\n diff = "<b><font color=\'black\'>Index: <a href=\'BusinessTemplate_viewSvnShowFile?file="+context.getPortalObject()["portal_subversion"].relativeToAbsolute(file, context)+"\'>"+context.getPortalObject()["portal_subversion"].relativeToAbsolute(file, context)+"</a> <a href=\'"+context.getPortalObject()["portal_subversion"].editPath(context, file)+"\'><img src=\'imgs/edit.png\' border=\'0\'></a><br>"\n
diff += \'<hr></b>\'\n diff += \'<hr></b>\'\n
diff += context.getPortalObject()["portal_subversion"].diffHTML(file, context, revision1=revisions_list[0], revision2=revisions_list[1])\n diff += context.getPortalObject()["portal_subversion"].diffHTML(file, context, revision1=revisions_list[0], revision2=revisions_list[1])\n
diff += \'</font>\'\n diff += \'</font>\'\n
......
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
<input type=\'hidden\' name=\'modified\' value=\'\'>\n <input type=\'hidden\' name=\'modified\' value=\'\'>\n
<input type=\'hidden\' name=\'files\' value=\'\'>\n <input type=\'hidden\' name=\'files\' value=\'\'>\n
<!-- End Hidden -->\n <!-- End Hidden -->\n
\n
<div id="menudiv" style="position:absolute; display:none; top:0px; left:0px;z-index:10000;" onmouseover="javascript:overpopupmenu=true;" onmouseout="javascript:overpopupmenu=false;">\n <div id="menudiv" style="position:absolute; display:none; top:0px; left:0px;z-index:10000;" onmouseover="javascript:overpopupmenu=true;" onmouseout="javascript:overpopupmenu=false;">\n
<table width=82 cellspacing=1 cellpadding=0 bgcolor=lightgray>\n <table width=82 cellspacing=1 cellpadding=0 bgcolor=lightgray>\n
<tr><td>\n <tr><td>\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