1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 18:03:48 +00:00

repair translate bug (#2892)

* repair translate bug

* escape repo-name

* repair translate bug

* repair shared-repo-list-item translate bug
This commit is contained in:
杨顺强
2019-01-28 16:32:32 +08:00
committed by Daniel Pan
parent 55da78826e
commit d702be3b2b
10 changed files with 51 additions and 32 deletions

View File

@@ -38,7 +38,7 @@ class ReadmeDialog extends React.Component {
render() {
return (
<Modal isOpen={true} toggle={this.props.toggleCancel} className="readme-dialog" size="lg">
<ModalHeader>{gettext(this.props.fileName)}
<ModalHeader>{this.props.fileName}
<a className="readme-dialog-edit" href={this.props.href} target='_blank'><i className="fa fa-pencil"></i></a>
</ModalHeader>
<ModalBody>