Skip to content

Commit

Permalink
Merge pull request #12619 from mattwire/caseview_contactlink
Browse files Browse the repository at this point in the history
Make contact name into a link on Manage Case for single client
  • Loading branch information
colemanw authored Aug 8, 2018
2 parents 6954af1 + 7a1989f commit 04659e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/CRM/Case/Form/CaseView.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
<table class="form-layout-compressed">
{foreach from=$caseRoles.client item=client}
<tr class="crm-case-caseview-display_name">
<td class="label-left bold" style="padding: 0px; border: none;">{$client.display_name}</td>
<td class="label-left bold" style="padding: 0px; border: none;">
<a href="{crmURL p='civicrm/contact/view' q="action=view&reset=1&cid=`$client.contact_id`"}" title="{ts}View contact record{/ts}">{$client.display_name}</a>
</td>
</tr>
{if $client.phone}
<tr class="crm-case-caseview-phone">
Expand Down

0 comments on commit 04659e5

Please sign in to comment.