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:
@@ -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">
|
||||
|
@@ -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">
|
||||
|
@@ -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">
|
||||
|
@@ -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">
|
||||
|
Reference in New Issue
Block a user