1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +00:00

show share/upload link password

This commit is contained in:
lian
2021-11-19 10:53:08 +08:00
parent 1b71b21426
commit b95ea9be68
8 changed files with 86 additions and 33 deletions

View File

@@ -400,6 +400,14 @@ class GenerateShareLink extends React.Component {
</dd>
</FormGroup>
)}
{sharedLinkInfo.password && (
<FormGroup className="mb-0">
<dt className="text-secondary font-weight-normal">{gettext('Password:')}</dt>
<dd className="d-flex">
<span>{sharedLinkInfo.password}</span>
</dd>
</FormGroup>
)}
{sharedLinkInfo.expire_date && (
<FormGroup className="mb-0">
<dt className="text-secondary font-weight-normal">{gettext('Expiration Date:')}</dt>