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:
@@ -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 (
|
||||
|
Reference in New Issue
Block a user