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

@@ -5,6 +5,7 @@ import { gettext, siteRoot, loginUrl, canGenerateShareLink } from '../../utils/c
import { seafileAPI } from '../../utils/seafile-api';
import { Utils } from '../../utils/utils';
import SharedUploadInfo from '../../models/shared-upload-info';
import EmptyTip from '../../components/empty-tip';
class Content extends Component {
@@ -39,10 +40,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 upload links')}</h2>
<p>{gettext('You can generate an upload link from any folder. Anyone who receives this link can upload files to this folder.')}</p>
</div>
</EmptyTip>
);
const table = (