1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-15 06:44:16 +00:00

change empty tips (#6565)

* [draft] change empty tips

* remove useless codes
This commit is contained in:
Michael An
2024-08-20 11:19:11 +08:00
committed by GitHub
parent 559c99fffa
commit 9051ad836e
69 changed files with 208 additions and 284 deletions

View File

@@ -307,8 +307,7 @@ class Wikis extends Component {
}
{(!this.state.loading && this.state.wikis.length === 0 && this.state.groupWikis.length === 0) &&
<div className="cur-view-content">
<EmptyTip>
<h2>{gettext('No Wikis')}</h2>
<EmptyTip title={gettext('No Wikis')}>
<p>{gettext('You do not have any wikis yet.')}</p>
<p>{gettext('You can add a wiki by clicking the "Add Wiki" button in the menu.')}</p>
</EmptyTip>