1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 08:28:11 +00:00

Fix txt view (#2964)

* user-select-translation (#2956)

* fix-css
This commit is contained in:
Michael An
2019-02-19 19:59:42 +08:00
committed by Daniel Pan
parent 4047de7457
commit 1e5db84852
3 changed files with 23 additions and 12 deletions

View File

@@ -77,7 +77,7 @@ class CommentsList extends React.Component {
<div onClick={this.props.toggleCommentsList} className={'seafile-comment-title-close'}>
<i className={'fa fa-times-circle'}/>
</div>
<div className={'seafile-comment-title-text'}>{gettext('comments')}</div>
<div className={'seafile-comment-title-text'}>{gettext('Comments')}</div>
</div>
<div className="seafile-comment-toggle-resolved">
<div className={'seafile-comment-title-text'}>{gettext('Show resolved comments')}</div>
@@ -109,7 +109,7 @@ class CommentsList extends React.Component {
})
}
{(this.state.commentsList.length == 0 ) &&
<li className="comment-vacant">{gettext('no_comment_yet')}</li>}
<li className="comment-vacant">{gettext('No comment yet.')}</li>}
</ul>
<div className="seafile-comment-footer">
<textarea
@@ -119,7 +119,7 @@ class CommentsList extends React.Component {
<Button
className="submit-comment" color="success"
size="sm" onClick={this.submitComment} >
{gettext('submit')}</Button>
{gettext('Submit')}</Button>
</div>
</div>
);