{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {if $context EQ 'Search'} {include file="CRM/common/pager.tpl" location="top"} {/if} {strip} {if ! $single and $context eq 'Search' } {/if} {foreach from=$columnHeaders item=header} {/foreach} {counter start=0 skip=1 print=false} {foreach from=$rows item=row} {if ! $single } {if $context eq 'Search' } {assign var=cbName value=$row.checkbox} {/if} {/if} {/foreach} {* Link to "View all memberships" for Contact Summary selector display *} {if ($context EQ 'membership') AND $pager->_totalItems GT $limit} {/if} {if ($context EQ 'dashboard') AND $pager->_totalItems GT $limit} {/if}
{$form.toggleSelect.html} {if $header.sort} {assign var='key' value=$header.sort} {$sort->_response.$key.link} {else} {$header.name} {/if}
{$form.$cbName.html}{$row.contact_type} {$row.sort_name} {$row.membership_type}{if $row.is_test} ({ts}test{/ts}){/if} {if $row.owner_membership_id}
({ts}by relationship{/ts}){/if}
{$row.membership_join_date|truncate:10:''|crmDate} {$row.membership_start_date|truncate:10:''|crmDate} {$row.membership_end_date|truncate:10:''|crmDate} {$row.membership_source} {$row.membership_status} {if $row.auto_renew eq 1} {elseif $row.auto_renew eq 2} {/if} {$row.action|replace:'xx':$row.membership_id} {if $row.owner_membership_id} {ts}View Primary{/ts} {/if}
{ts}View all memberships for this contact{/ts}...
{ts}Find more members{/ts}...
{/strip} {if $context EQ 'Search'} {include file="CRM/common/pager.tpl" location="bottom"} {/if}