1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 07:55:36 +00:00

update locked display (#3052)

This commit is contained in:
陈钦亮
2019-03-05 18:21:19 +08:00
committed by Daniel Pan
parent 1d2affbeeb
commit ad5c82ad41
2 changed files with 2 additions and 1 deletions

View File

@@ -361,7 +361,7 @@ class DirentListItem extends React.Component {
<img src={`${siteRoot}${dirent.encoded_thumbnail_src}`} className="thumbnail" alt="" /> :
<img src={iconUrl} width="24" alt='' />
}
{dirent.is_locked && <img className="locked" src={mediaUrl + 'img/file-locked-32.png'} alt={gettext('locked')} title={dirent.lock_owner}/>}
{dirent.is_locked && <img className="locked" src={mediaUrl + 'img/file-locked-32.png'} alt={gettext('locked')} title={dirent.lock_owner_name}/>}
</div>
</td>
<td className="name">