mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 18:30:53 +00:00
[tags] 'Tagged Files' dialog: improvement
This commit is contained in:
@@ -77,9 +77,9 @@ class ListTaggedFilesDialog extends React.Component {
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th width='45%' className="ellipsis">{gettext('Name')}</th>
|
<th width='45%' className="ellipsis">{gettext('Name')}</th>
|
||||||
<th width='27%'>{gettext('Size')}</th>
|
<th width='22%'>{gettext('Size')}</th>
|
||||||
<th width='18%'>{gettext('Last Update')}</th>
|
<th width='25%'>{gettext('Last Update')}</th>
|
||||||
<th width='10%'></th>
|
<th width='8%'></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -154,7 +154,7 @@ class TaggedFile extends React.Component {
|
|||||||
</tr>
|
</tr>
|
||||||
:
|
:
|
||||||
<tr onMouseEnter={this.onMouseEnter} onMouseLeave={this.onMouseLeave} onFocus={this.onMouseEnter}>
|
<tr onMouseEnter={this.onMouseEnter} onMouseLeave={this.onMouseLeave} onFocus={this.onMouseEnter}>
|
||||||
<td className="name"><a href={href} target='_blank'>{taggedFile.filename}</a></td>
|
<td><a href={href} target='_blank' className="d-inline-block w-100 ellipsis" title={taggedFile.filename}>{taggedFile.filename}</a></td>
|
||||||
<td>{Utils.bytesToSize(taggedFile.size)}</td>
|
<td>{Utils.bytesToSize(taggedFile.size)}</td>
|
||||||
<td>{moment.unix(taggedFile.mtime).fromNow()}</td>
|
<td>{moment.unix(taggedFile.mtime).fromNow()}</td>
|
||||||
<td><a href="#" role="button" aria-label={gettext('Delete')} title={gettext('Delete')} className={className} onClick={this.deleteFile}></a></td>
|
<td><a href="#" role="button" aria-label={gettext('Delete')} title={gettext('Delete')} className={className} onClick={this.deleteFile}></a></td>
|
||||||
|
Reference in New Issue
Block a user