diff --git a/controllers/grid/users/reviewer/AuthorReviewerGridCellProvider.php b/controllers/grid/users/reviewer/AuthorReviewerGridCellProvider.php index fe572ec7360..3c403ca16c5 100644 --- a/controllers/grid/users/reviewer/AuthorReviewerGridCellProvider.php +++ b/controllers/grid/users/reviewer/AuthorReviewerGridCellProvider.php @@ -75,7 +75,13 @@ public function getTemplateVarsFromRowColumn($row, $column) return ['label' => __($element->getReviewMethodKey())]; case 'considered': - return ['label' => $this->_getStatusText($this->getCellState($row, $column), $row)]; + $statusText = $this->_getStatusText($this->getCellState($row, $column), $row); + $reviewAssignment = $row->getData(); + $competingInterests = $reviewAssignment->getCompetingInterests(); + if ($competingInterests) { + $statusText .= '' . __('reviewer.competingInterests') . ''; + } + return ['label' => $statusText]; case 'actions': // Only attach actions to this column. See self::getCellActions() diff --git a/controllers/grid/users/reviewer/ReviewerGridCellProvider.php b/controllers/grid/users/reviewer/ReviewerGridCellProvider.php index c5ae5967550..3fe97df0f12 100644 --- a/controllers/grid/users/reviewer/ReviewerGridCellProvider.php +++ b/controllers/grid/users/reviewer/ReviewerGridCellProvider.php @@ -97,7 +97,13 @@ public function getTemplateVarsFromRowColumn($row, $column) return ['label' => __($element->getReviewMethodKey())]; case 'considered': - return ['label' => $this->_getStatusText($this->getCellState($row, $column), $row)]; + $statusText = $this->_getStatusText($this->getCellState($row, $column), $row); + $reviewAssignment = $row->getData(); + $competingInterests = $reviewAssignment->getCompetingInterests(); + if ($competingInterests) { + $statusText .= '' . __('reviewer.competingInterests') . ''; + } + return ['label' => $statusText]; case 'actions': // Only attach actions to this column. See self::getCellActions() diff --git a/templates/controllers/grid/users/reviewer/readReview.tpl b/templates/controllers/grid/users/reviewer/readReview.tpl index fb682a7ea62..59f4b997fb4 100644 --- a/templates/controllers/grid/users/reviewer/readReview.tpl +++ b/templates/controllers/grid/users/reviewer/readReview.tpl @@ -25,6 +25,13 @@ {translate key="editor.review.readConfirmation"} {/fbvFormSection} + {if $reviewAssignment->getCompetingInterests()} +