1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

[view shared dir] modified UI details (#3227)

This commit is contained in:
llj
2019-04-09 15:26:21 +08:00
committed by Daniel Pan
parent 5efa691ab3
commit f2c2b71636
2 changed files with 3 additions and 5 deletions

View File

@@ -336,8 +336,7 @@ class Item extends React.Component {
<td>{moment(item.last_modified).format('YYYY-MM-DD')}</td>
<td>
{showDownloadIcon &&
<a className={isIconShown ? '' : ' invisible'} href="#" onClick={this.zipDownloadFolder} title={gettext('Download')} aria-label={gettext('Download')}>
<img src={`${mediaUrl}img/download.png`} alt={gettext('Download')} />
<a className={`action-icon sf2-icon-download${isIconShown ? '' : ' invisible'}`} href="#" onClick={this.zipDownloadFolder} title={gettext('Download')} aria-label={gettext('Download')}>
</a>
}
</td>
@@ -361,8 +360,7 @@ class Item extends React.Component {
<td>{moment(item.last_modified).format('YYYY-MM-DD')}</td>
<td>
{showDownloadIcon &&
<a className={isIconShown ? '' : ' invisible'} href={`${fileURL}&dl=1`} title={gettext('Download')} aria-label={gettext('Download')}>
<img src={`${mediaUrl}img/download.png`} alt={gettext('Download')} />
<a className={`action-icon sf2-icon-download${isIconShown ? '' : ' invisible'}`} href={`${fileURL}&dl=1`} title={gettext('Download')} aria-label={gettext('Download')}>
</a>
}
</td>