1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 16:10:26 +00:00

fix-finished-btn (#2740)

This commit is contained in:
Michael An
2019-01-02 11:28:39 +08:00
committed by Daniel Pan
parent d3fb676cb7
commit be2f32d8e7
2 changed files with 14 additions and 4 deletions

View File

@@ -755,11 +755,17 @@ class DraftReview extends React.Component {
}
{
this.state.reviewStatus === 'finished' &&
<div className="review-state review-state-finished">{gettext('Finished')}</div>
<div className="cur-file-operation">
<button className='btn review-state review-state-finished'
title={gettext('Finished')}>{gettext('Finished')}</button>
</div>
}
{
this.state.reviewStatus === 'closed' &&
<div className="review-state review-state-closed">{gettext('Closed')}</div>
this.state.reviewStatus === 'closed' &&
<div className="cur-file-operation">
<button className='btn review-state review-state-closed'
title={gettext('Closed')}>{gettext('Closed')}</button>
</div>
}
</div>
</div>