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

change empty tips (#6565)

* [draft] change empty tips

* remove useless codes
This commit is contained in:
Michael An
2024-08-20 11:19:11 +08:00
committed by GitHub
parent 559c99fffa
commit 9051ad836e
69 changed files with 208 additions and 284 deletions

View File

@@ -124,9 +124,10 @@ class PublicSharedView extends React.Component {
const { errMessage } = this.state;
const emptyTip = inAllLibs ?
<p className={`libraries-empty-tip-in-${currentViewMode}-mode`}>{gettext('No public libraries')}</p> : (
<EmptyTip>
<h2>{gettext('No public libraries')}</h2>
<p>{gettext('No public libraries have been created yet. A public library is accessible by all users. You can create a public library by clicking the "Add Library" button in the menu bar.')}</p>
<EmptyTip
title={gettext('No public libraries')}
text={gettext('No public libraries have been created yet. A public library is accessible by all users. You can create a public library by clicking the "Add Library" button in the menu bar.')}
>
</EmptyTip>
);
return (