diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml index 0417ba49af5e32f59c2857b4e77dee538c24e735..1ce9291f4218b7146ee88d3cbed97e7720695fb9 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnInfosFile.xml @@ -56,11 +56,11 @@ <tal:block metal:fill-slot="main">\n \n <tal:block tal:define="path context/file;\n - infos_list context/infos_list">\n + infos_dict context/infos_dict">\n <font color=\'black\'>\n <br><a tal:attributes="href python:\'BusinessTemplate_viewSvnShowFile?file=\'+str(path)"><b tal:content="path"></b></a>\n <a tal:attributes="href context/edit_path"><img src=\'imgs/edit.png\' border=\'0\'></a><hr><br>\n - <table width=60%% border=1 tal:repeat="infos_dict infos_list">\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 <tr height="18px"><td style=\'background-color: rgb(204, 204, 255);\'><b>Size</b></td><td style=\'background-color: white;\' tal:content="python:infos_dict[\'size\']/1024.">filesize</td></tr>\n <tr height="18px"><td style=\'background-color: rgb(204, 204, 255);\'><b>Type</b></td><td style=\'background-color: white;\' tal:content="python:infos_dict[\'kind\']">filekind</td></tr>\n diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnLog/listbox.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnLog/listbox.xml index f45993b13ddd157e2650b984ac5f57a4d034c83c..be509445b40351aecf9cd0dff5e9fdc36948f9bb 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnLog/listbox.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_viewSvnLog/listbox.xml @@ -464,7 +464,24 @@ <item> <key> <string>search_columns</string> </key> <value> - <list/> + <list> + <tuple> + <string>revision</string> + <string>Revision</string> + </tuple> + <tuple> + <string>author</string> + <string>Author</string> + </tuple> + <tuple> + <string>date</string> + <string>Date</string> + </tuple> + <tuple> + <string>message</string> + <string>Changelog</string> + </tuple> + </list> </value> </item> <item> diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/svn_ls.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/svn_ls.xml index 6d660f454860af5945b47403a5686870abe0028b..1b873a7a9743c74f0e1a477118626ecb66395209 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/svn_ls.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/svn_ls.xml @@ -83,7 +83,7 @@ except SubversionLoginError, error1 :\n context.REQUEST.set(\'portal_status_message\', \'Server needs authentication, no cookie found\')\n return context.asContext(caller=\'ls\', realm = error1.getRealm(), username = context.getPortalObject().portal_preferences.getPreference(\'preferred_subversion_user_name\')).BusinessTemplate_viewSvnLogin()\n \n -return context.asContext(infos_list=infos_list, file=file, edit_path=context.getPortalObject()["portal_subversion"].editPath(context, file)).BusinessTemplate_viewSvnInfosFile()\n +return context.asContext(infos_dict=infos_list[0], file=file, edit_path=context.getPortalObject()["portal_subversion"].editPath(context, file)).BusinessTemplate_viewSvnInfosFile()\n </string> </value> </item> <item>