return a CMS-appropriate URL for viewing contacts
The current AngularJS template hardcodes the URL to view the contact to /civicrm/contact/view?cid={{row.calling_contact_id}}&reset=1
, which only works with Drupal/Backdrop. I pass this through CRM.url()
to get a CMS-appropriate URL, for WordPress/Joomla support.