From af81fe33f11d1aa41ab1bf0830d4a306c5fc6d04 Mon Sep 17 00:00:00 2001 From: Christophe Dumez <christophe@nexedi.com> Date: Tue, 11 Jul 2006 13:55:37 +0000 Subject: [PATCH] - html diff: now different files are separated by an <hr> tag (asked by sebastien) - html diff: Fixed a typo that caused "added file" not to be displayed git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8402 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_svn/BusinessTemplate_doSvnDiff.xml | 11 ++++++----- bt5/erp5_forge/bt/{provides_list => provision_list} | 0 bt5/erp5_forge/bt/revision | 2 +- bt5/erp5_forge/bt/template_preference_list | 0 4 files changed, 7 insertions(+), 6 deletions(-) rename bt5/erp5_forge/bt/{provides_list => provision_list} (100%) create mode 100644 bt5/erp5_forge/bt/template_preference_list diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_doSvnDiff.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_doSvnDiff.xml index e7dc8d83fd..1fe40eb023 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_doSvnDiff.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_doSvnDiff.xml @@ -86,8 +86,9 @@ if modified != \'none\':\n edit_path = context.getPortalObject()["portal_subversion"].editPath(context, f)\n if(edit_path != \'#\'):\n print "<a href=\'"+edit_path+"\'><img src=\'imgs/edit.png\' alt=\'Edit\' style=\'border: 0\' /></a>"\n - print \'</span><br/><hr/>\'\n + print \'</span><br/>\'\n print context.getPortalObject()["portal_subversion"].diffHTML(f, context)\n + print \'<hr/><br/>\'\n \n if added != \'none\':\n for f in tab_Added:\n @@ -96,8 +97,8 @@ if added != \'none\':\n edit_path = context.getPortalObject()["portal_subversion"].editPath(context, f)\n if(edit_path != \'#\'):\n print "<a href=\'"+edit_path+"\'><img src=\'imgs/edit.png\' alt=\'Edit\' style=\'border: 0\' /></a>"\n - print \'</span><br/><hr/>\'\n - print "<span style=\'color: green;\'><File Added</span><br/><br/>"\n + print \'</span><br/>\'\n + print "<span style=\'color: green;\'>File Added</span><br/><br/><hr/><br/>"\n \n if removed != \'none\':\n for f in tab_Removed:\n @@ -106,8 +107,8 @@ if removed != \'none\':\n edit_path = context.getPortalObject()["portal_subversion"].editPath(context, f)\n if(edit_path != \'#\'):\n print "<a href=\'"+edit_path+"\'><img src=\'imgs/edit.png\' alt=\'Edit\' style=\'border: 0\' /></a>"\n - print \'</span><br/><hr/>\'\n - print "<span style=\'color: red;\'>File Removed</span><br/><br/>"\n + print \'</span><br/>\'\n + print "<span style=\'color: red;\'>File Removed</span><br/><br/><hr/><br/>"\n \n print \'</div>\'\n return printed\n diff --git a/bt5/erp5_forge/bt/provides_list b/bt5/erp5_forge/bt/provision_list similarity index 100% rename from bt5/erp5_forge/bt/provides_list rename to bt5/erp5_forge/bt/provision_list diff --git a/bt5/erp5_forge/bt/revision b/bt5/erp5_forge/bt/revision index 31ff414b74..c5b431b6cb 100644 --- a/bt5/erp5_forge/bt/revision +++ b/bt5/erp5_forge/bt/revision @@ -1 +1 @@ -48 \ No newline at end of file +50 \ No newline at end of file diff --git a/bt5/erp5_forge/bt/template_preference_list b/bt5/erp5_forge/bt/template_preference_list new file mode 100644 index 0000000000..e69de29bb2 -- 2.30.9