Commit a060361b authored by Alexandre Boeglin's avatar Alexandre Boeglin

- fixed typo in image name

- fixed error in image paths

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13522 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 012f8b89
......@@ -86,7 +86,7 @@ if modified != \'none\':\n
print "<span style=\'font-weight: bold; color: black;\'>Index: <a href=\'BusinessTemplate_viewSvnShowFile?file="+f+"\'>"+f+"</a>"\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 "<a href=\'"+edit_path+"\'><img src=\'ERP5Subversion_imgs/edit.png\' alt=\'Edit\' style=\'border: 0\' /></a>"\n
print \'</span><br/>\'\n
print context.getPortalObject()["portal_subversion"].diffHTML(f, context)\n
print \'<hr/><br/>\'\n
......@@ -98,7 +98,7 @@ if added != \'none\':\n
print "<span style=\'font-weight: bold; color: black;\'>Index: <a href=\'BusinessTemplate_viewSvnShowFile?file="+f+"\'>"+f+"</a>"\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 "<a href=\'"+edit_path+"\'><img src=\'ERP5Subversion_imgs/edit.png\' alt=\'Edit\' style=\'border: 0\' /></a>"\n
print \'</span><br/>\'\n
print "<span style=\'color: green;\'>File Added</span><br/><br/><hr/><br/>"\n
\n
......@@ -109,7 +109,7 @@ if removed != \'none\':\n
print "<span style=\'font-weight: bold; color: black;\'>Index: <a href=\'BusinessTemplate_viewSvnShowFile?file="+f+"\'>"+f+"</a>"\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 "<a href=\'"+edit_path+"\'><img src=\'ERP5Subversion_imgs/edit.png\' alt=\'Edit\' style=\'border: 0\' /></a>"\n
print \'</span><br/>\'\n
print "<span style=\'color: red;\'>File Removed</span><br/><br/><hr/><br/>"\n
\n
......
......@@ -84,7 +84,7 @@ if len(revisions_list) != 2:\n
\n
revisions_list.sort()\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, context)+"</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=\'ERP5Subversion_imgs/edit.png\' border=\'0\'></a><br/>"\n
diff += \'<hr/></b>\'\n
diff += context.getPortalObject()["portal_subversion"].diffHTML(file, context, revision1=revisions_list[0], revision2=revisions_list[1])\n
diff += \'</font>\'\n
......
......@@ -77,7 +77,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<tal:block tal:define="path context/file; infos_dict context/infos_dict">\n
\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
<span tal:condition="python:context.edit_path!=\'#\'"><a tal:attributes="href context/edit_path"><img src=\'imgs/edit.png\' style=\'border: 0\' alt="edit"/></a></span>\n
<span tal:condition="python:context.edit_path!=\'#\'"><a tal:attributes="href context/edit_path"><img src=\'ERP5Subversion_imgs/edit.png\' style=\'border: 0\' alt="edit"/></a></span>\n
<hr/><br/>\n
<div tal:condition="infos_dict" style="text-align: center">\n
<table style="width: 60%; border-style: solid; border-width: 1px; text-align: left; margin-left:auto; margin-right:auto; color: black;" cellspacing="0">\n
......
......@@ -20,7 +20,7 @@
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>minux_ar.gif</string> </value>
<value> <string>minus_ar.gif</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
117
\ No newline at end of file
119
\ No newline at end of file
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