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

Repo share admin (#6745)

* [repo 'share admin'] redesigned the 'Share Links' panel

* [repo 'share admin'] 'Share Links' panel: display user avatar, add 'delete selected links', add 'scroll to the bottom to load the next page of data'

* [repo 'share admin'] 'Upload Links' panel: redesigned it
This commit is contained in:
llj
2024-09-11 18:20:33 +08:00
committed by GitHub
parent 699df10f7c
commit 8d7092f776
6 changed files with 533 additions and 72 deletions

View File

@@ -112,7 +112,7 @@ class FileAccessLog extends React.Component {
<tr key={index}>
<td className="pl10">
<img src={item.avatar_url} alt='' width="24" className="rounded-circle mr-2" />
{item.email ? <a href={`${siteRoot}profile/${encodeURIComponent(item.email)}/`} target="_blank" rel="noreferrer">{item.name}</a> : <span>{gettext('Anonymous User')}</span>}
{item.email ? <a href={`${siteRoot}profile/${encodeURIComponent(item.email)}/`} target="_blank" rel="noreferrer" className="align-middle">{item.name}</a> : <span>{gettext('Anonymous User')}</span>}
</td>
<td>{item.etype}</td>
<td className="pr-4">