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

[about] added 'close' & etc (#2768)

This commit is contained in:
llj
2019-01-05 16:20:21 +08:00
committed by Daniel Pan
parent 7f688ba6b0
commit 324e055dac

View File

@@ -25,8 +25,9 @@ class About extends React.Component {
return (
<div>
<a href="#" className="item" onClick={this.toggle}>{gettext('About')}</a>
<Modal isOpen={this.state.modal} toggle={this.toggle} className={this.props.className}>
<Modal isOpen={this.state.modal} centered={true} toggle={this.toggle} className={this.props.className}>
<ModalBody>
<button type="button" className="close" onClick={this.toggle}><span aria-hidden="true">×</span></button>
<div className="about-content">
<p><img src="/media/img/seafile-logo.png" title="Private Seafile" alt="logo" width="128" height="32" /></p>
<p>{gettext('Server Version: ')}6.3.3<br />© 2018 {gettext('Seafile')}</p>