mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-24 04:48:03 +00:00
sysadmin reconstruct terms and conditions pages (#4231)
* sysadmin reconstruct terms and conditions pages * update seafile-js version * add term content dialog * optimized code struct * fix redirect logic after add term * optimized code * optimized code * update seafile-editor version
This commit is contained in:
@@ -222,10 +222,14 @@ class SidePanel extends React.Component {
|
||||
}
|
||||
{isDefaultAdmin && enableTermsAndConditions &&
|
||||
<li className="nav-item">
|
||||
<a className='nav-link ellipsis' href={siteRoot + 'sys/termsadmin/'}>
|
||||
<Link
|
||||
className={`nav-link ellipsis ${this.getActiveClass('termsandconditions')}`}
|
||||
to={siteRoot + 'sys/terms-and-conditions/'}
|
||||
onClick={() => this.props.tabItemClick('termsandconditions')}
|
||||
>
|
||||
<span className="sf2-icon-wiki" aria-hidden="true"></span>
|
||||
<span className="nav-text">{gettext('Terms and Conditions')}</span>
|
||||
</a>
|
||||
</Link>
|
||||
</li>
|
||||
}
|
||||
{isPro && canViewAdminLog &&
|
||||
|
Reference in New Issue
Block a user