1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 12:58:34 +00:00

[dir view] redesigned the 'file upload' dialog (#6006)

* [dir view] redesigned the 'file upload' dialog

* [dir view] 'file upload' dialog: fixup & improvements
This commit is contained in:
llj
2024-04-03 22:14:31 +08:00
committed by GitHub
parent 8bf135ca96
commit 29081f204b
6 changed files with 121 additions and 82 deletions

View File

@@ -93,7 +93,7 @@ class UploadListItem extends React.Component {
</div>
{(resumableFile.remainingTime === -1) && <div className="progress-text">{gettext('Preparing to upload...')}</div>}
{(resumableFile.remainingTime > 0) && <div className="progress-text">{gettext('Remaining')}{' '}{Utils.formatTime(resumableFile.remainingTime)}</div>}
{(resumableFile.remainingTime === 0) && <div className="progress-text">{gettext('Indexing...')}</div>}
{(resumableFile.remainingTime === 0) && <div className="progress-text">{gettext('Saving...')}</div>}
</div>
)}
{!resumableFile.isUploading() && (