1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

improved empty tips (#4391)

This commit is contained in:
llj
2020-01-03 16:50:17 +08:00
committed by Daniel Pan
parent 1c4102e943
commit c485cfc932
22 changed files with 49 additions and 39 deletions

View File

@@ -185,10 +185,10 @@ class GroupsView extends React.Component {
render() {
const emptyTip = (
<EmptyTip>
<h2>{gettext('You are not in any groups')}</h2>
<h2>{gettext('No groups')}</h2>
{canAddGroup ?
<p>{gettext('Groups allow multiple people to collaborate on libraries. You can create a group by clicking the "New Group" button.')}</p> :
<p>{gettext('Groups allow multiple people to collaborate on libraries. Groups you join will be listed here.')}</p>
<p>{gettext('You are not in any groups. Groups allow multiple people to collaborate on libraries. You can create a group by clicking the "New Group" button in the menu bar.')}</p> :
<p>{gettext('You are not in any groups. Groups allow multiple people to collaborate on libraries. Groups you join will be listed here.')}</p>
}
</EmptyTip>
);