1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

remove about (#7027)

* remove about

* update

* update

---------

Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
This commit is contained in:
awu0403
2024-11-13 14:26:10 +08:00
committed by GitHub
parent 3824a899b5
commit a217696d7d
5 changed files with 13 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ import { Link } from '@gatsbyjs/reach-router';
import {
gettext, siteRoot, canAddGroup, canAddRepo, canShareRepo,
canGenerateShareLink, canGenerateUploadLink, canInvitePeople,
enableTC, sideNavFooterCustomHtml,
enableTC, sideNavFooterCustomHtml, enableShowAbout,
canViewOrg, isDocs, isPro, isDBSqlite3, customNavItems, mediaUrl
} from '../utils/constants';
import { seafileAPI } from '../utils/seafile-api';
@@ -297,12 +297,14 @@ class MainSideNav extends React.Component {
<span className="nav-text">{gettext('Clients')}</span>
</a>
</li>
{enableShowAbout &&
<li className='nav-item'>
<a href="#" className="nav-link" onClick={this.toggleAboutDialog}>
<span className="sf3-font-about sf3-font" aria-hidden="true"></span>
<span className="nav-text">{gettext('About')}</span>
</a>
</li>
}
</ul>
)
}