mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 16:31:13 +00:00
Tag file (#3094)
This commit is contained in:
@@ -132,10 +132,11 @@ class TaggedFile extends React.Component {
|
||||
<td><i className={className} onClick={this.props.onDeleteTaggedFile.bind(this, taggedFile)}></i></td>
|
||||
</tr>
|
||||
:
|
||||
<tr>
|
||||
<tr onMouseEnter={this.onMouseEnter} onMouseLeave={this.onMouseLeave}>
|
||||
<td className="name"><a href={href} target='_blank'>{taggedFile.filename}</a></td>
|
||||
<td>{Utils.bytesToSize(taggedFile.size)}</td>
|
||||
<td colSpan='2'>{moment.unix(taggedFile.mtime).fromNow()}</td>
|
||||
<td>{moment.unix(taggedFile.mtime).fromNow()}</td>
|
||||
<td><i className={className} onClick={this.props.onDeleteTaggedFile.bind(this, taggedFile)}></i></td>
|
||||
</tr>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user