1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-15 14:49:09 +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

@@ -6,6 +6,7 @@ import { seafileAPI } from '../../utils/seafile-api';
import { gettext, loginUrl, canPublishRepo } from '../../utils/constants';
import toaster from '../../components/toast';
import ModalPortal from '../../components/modal-portal';
import EmptyTip from '../../components/empty-tip';
import CommonToolbar from '../../components/toolbar/common-toolbar';
import NewWikiDialog from '../../components/dialog/new-wiki-dialog';
import WikiSelectDialog from '../../components/dialog/wiki-select-dialog';
@@ -157,10 +158,10 @@ class Wikis extends Component {
/>
}
{(!this.state.loading && this.state.wikis.length === 0) &&
<div className="message empty-tip">
<EmptyTip>
<h2>{gettext('You do not have any public library')}</h2>
<p>{gettext('Public libraries are for publishing your contents in an organized way.')}</p>
</div>
</EmptyTip>
}
</div>
</div>