1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 04:48:03 +00:00

fix translation and style (#6604)

This commit is contained in:
Michael An
2024-08-21 16:32:41 +08:00
committed by GitHub
parent 4fad780a86
commit 539daf8c3d
82 changed files with 2014 additions and 700 deletions

View File

@@ -175,7 +175,7 @@ class RepoShareAdminGroupShares extends Component {
{loading && <Loading />}
{!loading && errorMsg && <p className="error text-center mt-8">{errorMsg}</p>}
{!loading && !errorMsg && !items.length &&
<EmptyTip forDialog={true} text={gettext('No group shares')}/>
<EmptyTip text={gettext('No group shares')}/>
}
{!loading && !errorMsg && items.length > 0 &&
<table className="table-hover">

View File

@@ -128,7 +128,7 @@ class RepoShareAdminShareLinks extends Component {
{loading && <Loading />}
{!loading && errorMsg && <p className="error text-center mt-8">{errorMsg}</p>}
{!loading && !errorMsg && !items.length &&
<EmptyTip forDialog={true} text={gettext('No share links')}/>
<EmptyTip text={gettext('No share links')}/>
}
{!loading && !errorMsg && items.length > 0 &&
<table className="table-hover">

View File

@@ -118,7 +118,7 @@ class RepoShareAdminUploadLinks extends Component {
{loading && <Loading />}
{!loading && errorMsg && <p className="error text-center mt-8">{errorMsg}</p>}
{!loading && !errorMsg && !items.length &&
<EmptyTip forDialog={true} text={gettext('No upload links')}/>
<EmptyTip text={gettext('No upload links')}/>
}
{!loading && !errorMsg && items.length > 0 &&
<table className="table-hover">

View File

@@ -175,7 +175,7 @@ class RepoShareAdminUserShares extends Component {
{loading && <Loading />}
{!loading && errorMsg && <p className="error text-center mt-8">{errorMsg}</p>}
{!loading && !errorMsg && !items.length &&
<EmptyTip forDialog={true} text={gettext('No user shares')}/>
<EmptyTip text={gettext('No user shares')}/>
}
{!loading && !errorMsg && items.length > 0 &&
<table className="table-hover">