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

[view history/snapshot/trash file] rewrote them with react

This commit is contained in:
llj
2019-06-25 15:47:43 +08:00
parent c958c1c642
commit 0868add020
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>
);