Skip to content

Commit

Permalink
CRM-21125 permit class assignment on reports
Browse files Browse the repository at this point in the history
Assists with dedupe analysis as I am using this to provide pop-ups on
analysis reports rather than forcing click throughs to see more.

civicrm#10922

Change-Id: I5369a58035fef294b58c2dd1a89519c069d46443
  • Loading branch information
eileenmcnaughton committed Feb 1, 2018
1 parent 849853f commit 8e8ef31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/CRM/Report/Form/Layout/Table.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,10 @@
{foreach from=$columnHeaders item=header key=field}
{assign var=fieldLink value=$field|cat:"_link"}
{assign var=fieldHover value=$field|cat:"_hover"}
{assign var=fieldClass value=$field|cat:"_class"}
<td class="crm-report-{$field}{if $header.type eq 1024 OR $header.type eq 1 OR $header.type eq 512} report-contents-right{elseif $row.$field eq 'Subtotal'} report-label{/if}">
{if $row.$fieldLink}
<a title="{$row.$fieldHover}" href="{$row.$fieldLink}">
<a title="{$row.$fieldHover}" href="{$row.$fieldLink}" {if $row.$fieldClass} class="{$row.$fieldClass}"{/if}>
{/if}

{if $row.$field eq 'Subtotal'}
Expand Down

0 comments on commit 8e8ef31

Please sign in to comment.