Skip to content

Commit

Permalink
AImprove title of pending approvals
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontalvo3 committed Oct 31, 2018
1 parent 0a33c16 commit 92c0190
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"pendingreviews-watch-suggestion-thanks": "Thanks for watching!",

"pendingreviews-pending-approvedrev": "Has revisions which require approval",
"pendingreviews-pending-approvedrev-title": "Revision approval required: $1",
"pendingreviews-edited-by": "[[$1]] made an edit '''without a summary'''",
"pendingreviews-with-comment": "[[$1]] made an edit with summary: ",
"pendingreviews-page-deleted": "Deleted page: $1",
Expand Down
7 changes: 6 additions & 1 deletion specials/SpecialPendingReviews.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,12 @@ public function getApprovedRevsChangeRow ( PendingReview $item, $rowCount ) {

$historyButton = $this->getHistoryButton( $item );

$displayTitle = '<strong>' . $item->title->getFullText() . '</strong>';
$displayTitle = '<strong>' .

This comment has been minimized.

Copy link
@krisfield

krisfield Oct 31, 2018

Collaborator

Could add small green star here to make this approved rev pending review completely different other pending reviews

This comment has been minimized.

Copy link
@jamesmontalvo3

jamesmontalvo3 Oct 31, 2018

Author Contributor

Fine...

wfMessage(
'pendingreviews-pending-approvedrev-title',
$item->title->getFullText()
)->parse() .
'</strong>';

return $this->getRowHTML( $item, $rowCount, $displayTitle, $buttonOne, $historyButton, $changes );

Expand Down

0 comments on commit 92c0190

Please sign in to comment.