1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-11 03:41:12 +00:00

Merge pull request #3723 from haiwen/history-trash-file-view

[view history/snapshot/trash file] rewrote them with react
This commit is contained in:
Daniel Pan
2019-06-25 21:35:21 +08:00
committed by GitHub
22 changed files with 451 additions and 14 deletions

View File

@@ -49,9 +49,9 @@ class FileInfo extends React.PureComponent {
/>
}
</h2>
<div className="last-modification">
<div className="meta-info">
<a href={`${siteRoot}profile/${encodeURIComponent(latestContributor)}/`}>{latestContributorName}</a>
<span className="last-modification-time">{moment(lastModificationTime * 1000).format('YYYY-MM-DD HH:mm')}</span>
<span className="ml-2">{moment(lastModificationTime * 1000).format('YYYY-MM-DD HH:mm')}</span>
</div>
</div>
);