mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-27 23:56:18 +00:00
improved empty tips (#4391)
This commit is contained in:
@@ -104,7 +104,7 @@ class InvitePeopleDialog extends React.Component {
|
||||
const { isSubmitting } = this.state;
|
||||
return (
|
||||
<Modal isOpen={true} toggle={this.props.toggleDialog}>
|
||||
<ModalHeader toggle={this.props.toggleDialog}>{gettext('Invite People')}</ModalHeader>
|
||||
<ModalHeader toggle={this.props.toggleDialog}>{gettext('Invite Guest')}</ModalHeader>
|
||||
<ModalBody>
|
||||
<label htmlFor="emails">{gettext('Emails')}</label>
|
||||
<Input
|
||||
|
@@ -121,7 +121,7 @@ class ShareDialog extends React.Component {
|
||||
{canInvitePeople &&
|
||||
<NavItem>
|
||||
<NavLink className={activeTab === 'invitePeople' ? 'active' : ''} onClick={this.toggle.bind(this, 'invitePeople')}>
|
||||
{gettext('Invite People')}
|
||||
{gettext('Invite Guest')}
|
||||
</NavLink>
|
||||
</NavItem>
|
||||
}
|
||||
|
@@ -251,7 +251,7 @@ class ShareToInvitePeople extends React.Component {
|
||||
<table className="table-thead-hidden">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="50%">{gettext('Invite People')}</th>
|
||||
<th width="50%">{gettext('Invite Guest')}</th>
|
||||
<th width="35%">{gettext('Permission')}</th>
|
||||
<th width="15%">{''}</th>
|
||||
</tr>
|
||||
|
@@ -281,9 +281,9 @@ class MainSideNav extends React.Component {
|
||||
</li>
|
||||
{canInvitePeople &&
|
||||
<li className="nav-item">
|
||||
<Link className={`nav-link ellipsis ${this.getActiveClass('invitations')}`} to={siteRoot + 'invitations/'} title={gettext('Invite People')} onClick={(e) => this.tabItemClick(e, 'invitations')}>
|
||||
<Link className={`nav-link ellipsis ${this.getActiveClass('invitations')}`} to={siteRoot + 'invitations/'} title={gettext('Invite Guest')} onClick={(e) => this.tabItemClick(e, 'invitations')}>
|
||||
<span className="sf2-icon-invite" aria-hidden="true"></span>
|
||||
<span className="nav-text">{gettext('Invite People')}</span>
|
||||
<span className="nav-text">{gettext('Invite Guest')}</span>
|
||||
</Link>
|
||||
</li>
|
||||
}
|
||||
|
@@ -27,11 +27,11 @@ class InvitationsToolbar extends React.Component {
|
||||
{Utils.isDesktop() ? (
|
||||
<div className="operation">
|
||||
<Button color="btn btn-secondary operation-item" onClick={toggleInvitePeopleDialog}>
|
||||
<i className="fas fa-plus-square text-secondary mr-1"></i>{gettext('Invite People')}
|
||||
<i className="fas fa-plus-square text-secondary mr-1"></i>{gettext('Invite Guest')}
|
||||
</Button>
|
||||
</div>
|
||||
) : (
|
||||
<span className="sf2-icon-plus mobile-toolbar-icon" title={gettext('Invite People')} onClick={toggleInvitePeopleDialog}></span>
|
||||
<span className="sf2-icon-plus mobile-toolbar-icon" title={gettext('Invite Guest')} onClick={toggleInvitePeopleDialog}></span>
|
||||
)}
|
||||
</div>
|
||||
<CommonToolbar searchPlaceholder={this.props.searchPlaceholder} onSearchedClick={onSearchedClick}/>
|
||||
|
Reference in New Issue
Block a user