{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *}
{if $groupCount eq 0 }
{ts}You are not currently subscribed to any Groups.{/ts}
{/if} {if $groupIn }
{strip} {if $edit} {/if} {foreach from=$groupIn item=row} {if $edit} {/if} {/foreach}
{ts}Group{/ts} {ts}Status{/ts} {ts}Date Added{/ts}
{$row.title} {ts 1=$row.in_method}Added (by %1){/ts} {$row.in_date|crmDate}[ {ts}Unsubscribe{/ts} ]
{/strip}
{/if} {if $edit} {* Include 'Join a Group' form *} {include file="CRM/Contact/Form/GroupContact.tpl"} {/if} {if $groupPending }
{ts}Pending Subscriptions{/ts}
{ts}Your subscription to these group(s) is pending confirmation.{/ts}
{strip} {if $edit} {/if} {foreach from=$groupPending item=row} {if $edit} {/if} {/foreach}
{ts}Group{/ts} {ts}Status{/ts} {ts}Date Pending{/ts}
{$row.title} {ts 1=$row.pending_method}Pending (by %1){/ts} {$row.pending_date|crmDate}[ {ts}Confirm{/ts} ]
{/strip}
{/if} {if $groupOut }
{ts}Unsubscribed Groups{/ts}
{ts}You are no longer subscribed to these group(s). Click Rejoin Group if you want to re-subscribe.{/ts}
{strip} {if $edit} {/if} {foreach from=$groupOut item=row} {if $edit} {/if} {/foreach}
{ts}Group{/ts} {ts}Status{/ts} {ts}Date Added{/ts} {ts}Date Removed{/ts}
{$row.title} {ts 1=$row.out_method}Removed (by %1){/ts} {$row.date_added|crmDate} {$row.out_date|crmDate}[ {ts}Rejoin Group{/ts} ]
{/strip}
{/if}