diff --git a/product/ERP5Subversion/Tool/SubversionTool.py b/product/ERP5Subversion/Tool/SubversionTool.py index f13942679a58c6ccb323b5dcb62b59c5b8403ba8..ed5e6919f6275d77a8fc2d09b6c5c760b3f2bfc8 100644 --- a/product/ERP5Subversion/Tool/SubversionTool.py +++ b/product/ERP5Subversion/Tool/SubversionTool.py @@ -497,6 +497,14 @@ class SubversionTool(BaseTool, UniqueObject, Folder): if target_realm == realm: return user, password return None, None + + def getHeader(self, bt, file): + file = self.relativeToAbsolute(file, bt) + header = "<b><a href='BusinessTemplate_viewSvnShowFile?file="+file+"'>" + file + "</a></b>" + edit_path = self.editPath(bt, file) + if edit_path != '#': + header += " <a href='"+self.editPath(bt, file)+"'><img src='imgs/edit.png' border='0'></a>" + return header def _encodeSSLTrust(self, trust_dict, permanent=False): # Encode login information.