1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 19:01:42 +00:00

redesigned all 'empty-tip'

This commit is contained in:
llj
2019-06-10 17:30:10 +08:00
parent c2efc18ac4
commit c54ae6cb01
15 changed files with 75 additions and 43 deletions

View File

@@ -9,6 +9,7 @@ import { Utils } from '../../utils/utils';
import Repo from '../../models/repo';
import toaster from '../../components/toast';
import Loading from '../../components/loading';
import EmptyTip from '../../components/empty-tip';
import ModalPortal from '../../components/modal-portal';
import CommonToolbar from '../../components/toolbar/common-toolbar';
import CreateRepoDialog from '../../components/dialog/create-repo-dialog';
@@ -162,10 +163,10 @@ class PublicSharedView extends React.Component {
render() {
let errMessage = this.state.errMessage;
let emptyTip = (
<div className="empty-tip">
<EmptyTip>
<h2>{gettext('No public libraries')}</h2>
<p>{gettext('You can create a public library by clicking the "New Library" button, others can view and download this library.')}</p>
</div>
</EmptyTip>
);
return (
<Fragment>