Skip to content
Snippets Groups Projects
Unverified Commit 2a7b7b2b authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #18704 from mlutfy/partListingOutput

ParticipantListing Report: only display the View link for web, unhardcode others
parents 88786666 71cffff6
Branches
Tags
No related merge requests found
......@@ -723,7 +723,7 @@ ORDER BY cv.label
$rows[$rowNum]['civicrm_contact_sort_name_linked'] = "<a title='$contactTitle' href=$url>$displayName</a>";
// Add a "View" link to the participant record if this isn't a CSV/PDF/printed document.
if ($this->_outputMode !== 'csv' && $this->_outputMode !== 'pdf' && $this->_outputMode !== 'print') {
if (empty($this->getOutputMode())) {
$rows[$rowNum]['civicrm_contact_sort_name_linked'] .=
"<span style='float: right;'><a title='$participantTitle' href=$viewUrl>" .
ts('View') . "</a></span>";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment