Santhosh has uploaded a new change for review. https://gerrit.wikimedia.org/r/53324
Change subject: (Bug 45551) Show other user votes when proofreading ...................................................................... (Bug 45551) Show other user votes when proofreading Change-Id: I5c875f2c0488ebb3d0c8d8c1e7a758842fa40557 --- M resources/css/ext.translate.proofread.css M resources/js/ext.translate.proofread.js 2 files changed, 19 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate refs/changes/24/53324/1 diff --git a/resources/css/ext.translate.proofread.css b/resources/css/ext.translate.proofread.css index d97aa49..aede8aa 100644 --- a/resources/css/ext.translate.proofread.css +++ b/resources/css/ext.translate.proofread.css @@ -115,3 +115,13 @@ .tux-message-proofread:hover .tux-proofread-edit { visibility: visible; } + +.tux-proofread-count { + color: #555555; + font-size: 14px; + padding-right: 5px; +} + +.tux-proofread-count:before { + content: '✓'; +} diff --git a/resources/js/ext.translate.proofread.js b/resources/js/ext.translate.proofread.js index cbe99be..c9af63c 100644 --- a/resources/js/ext.translate.proofread.js +++ b/resources/js/ext.translate.proofread.js @@ -164,8 +164,15 @@ .text( this.message.translation || '' ), $( '<div>' ) .addClass( 'tux-proofread-action-block one column' ) - .append( $( '<div>' ) - .addClass( 'tux-proofread-action ' + this.message.properties.status), + .append( + $( '<div>' ) + .addClass( 'tux-proofread-action ' + this.message.properties.status), + this.message.properties.reviewers ? + $( '<div>' ) + .addClass( 'tux-proofread-count right' ) + .text( mw.language.convertNumber( + this.message.properties.reviewers.length ) ) : + $( [] ), $( '<div>' ) .addClass( 'tux-proofread-edit' ) ) -- To view, visit https://gerrit.wikimedia.org/r/53324 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5c875f2c0488ebb3d0c8d8c1e7a758842fa40557 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits