Fixing column/headers line up when searching for soft credits
authorAlice Frumin <alice@aghstrategies.com>
Thu, 31 Jan 2019 17:02:06 +0000 (12:02 -0500)
committerAlice Frumin <alice@aghstrategies.com>
Thu, 31 Jan 2019 17:02:06 +0000 (12:02 -0500)
templates/CRM/Contribute/Form/Selector.tpl

index 41d19cedcec77d5207e0c3fdced08f4b61903537..144d6544db43661bf2e6e125d00ac0afb43da6ac 100644 (file)
           <td><a href="{crmURL p='civicrm/contact/view' q="reset=1&cid=`$row.contact_id`"}">{$row.sort_name}</a></td>
         {/if}
         <td class="crm-contribution-amount">
-          {if !$row.contribution_soft_credit_amount}
              <a class="nowrap bold crm-expand-row" title="{ts}view payments{/ts}" href="{crmURL p='civicrm/payment' q="view=transaction&component=contribution&action=browse&cid=`$row.contact_id`&id=`$row.contribution_id`&selector=1"}">
                &nbsp; {$row.total_amount|crmMoney:$row.currency}
             </a>
-          {/if}
           {if $row.amount_level }<br/>({$row.amount_level}){/if}
           {if $row.contribution_recur_id}<br/>{ts}(Recurring){/ts}{/if}
         </td>
-        {if $softCreditColumns}
-          <td class="right bold crm-contribution-soft_credit_amount">
-            <span class="nowrap">{$row.contribution_soft_credit_amount|crmMoney:$row.currency}</span>
-          </td>
-        {/if}
       {foreach from=$columnHeaders item=column}
         {assign var='columnName' value=$column.field_name}
         {if !$columnName}{* if field_name has not been set skip, this helps with not changing anything not specifically edited *}