mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 10:50:24 +00:00
redesigned all 'empty-tip'
This commit is contained in:
@@ -2,13 +2,14 @@ import React, { Component, Fragment } from 'react';
|
||||
import { Link } from '@reach/router';
|
||||
import moment from 'moment';
|
||||
import { Modal, ModalHeader, ModalBody, ModalFooter, Button } from 'reactstrap';
|
||||
import copy from '@seafile/seafile-editor/dist//utils/copy-to-clipboard';
|
||||
import { seafileAPI } from '../../utils/seafile-api';
|
||||
import { Utils } from '../../utils/utils';
|
||||
import { gettext, siteRoot, loginUrl, canGenerateUploadLink } from '../../utils/constants';
|
||||
import SharedLinkInfo from '../../models/shared-link-info';
|
||||
import ShareLinksPermissionEditor from '../../components/select-editor/share-links-permission-editor';
|
||||
import copy from '@seafile/seafile-editor/dist//utils/copy-to-clipboard';
|
||||
import toaster from '../../components/toast';
|
||||
import EmptyTip from '../../components/empty-tip';
|
||||
|
||||
class Content extends Component {
|
||||
|
||||
@@ -66,10 +67,10 @@ class Content extends Component {
|
||||
return <p className="error text-center">{errorMsg}</p>;
|
||||
} else {
|
||||
const emptyTip = (
|
||||
<div className="empty-tip">
|
||||
<EmptyTip>
|
||||
<h2>{gettext('You don\'t have any share links')}</h2>
|
||||
<p>{gettext('You can generate a share link for a folder or a file. Anyone who receives this link can view the folder or the file online.')}</p>
|
||||
</div>
|
||||
</EmptyTip>
|
||||
);
|
||||
|
||||
// sort
|
||||
|
Reference in New Issue
Block a user