1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 10:50:24 +00:00

file history page rewrite

This commit is contained in:
王健辉
2019-04-19 18:23:02 +08:00
parent 22f7daa8b0
commit cffda3ebf9
9 changed files with 400 additions and 21 deletions

View File

@@ -100,7 +100,7 @@ class FileToolbar extends React.Component {
icon="fa fa-history"
text={gettext('History')}
tag="a"
href={`${siteRoot}repo/file_revisions/${repoID}/?p=${encodeURIComponent(filePath)}&referer=${encodeURIComponent(location.href)}`}
href={`${siteRoot}repo/file_revisions/${repoID}/?p=${encodeURIComponent(filePath)}`}
/>
)}
{(canEditFile && !err) &&