Skip to content
Snippets Groups Projects
Commit 71cffff6 authored by bgm's avatar bgm Committed by bgm
Browse files

ParticipantListing Report: only display the View link for web, unhardcode others

parent 260e7da3
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