{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* this template is used for displaying PCP information *} {if $owner}

{ts}Personal Campaign Preview{/ts} - {ts}This is a preview of your Personal Campaign Page in support of{/ts} {$pageName}.

{ts}The current status of your page is{/ts}: {$owner.status}. {if $pcp.status_id NEQ 2}
{ts}You will receive an email notification when your page is Approved and you can begin promoting your campaign.{/ts}{/if} {if $pcp.page_type EQ 'event'} {if $owner.registration_start_date}
{ts}People can register for this event starting on {/ts} {$owner.registration_start_date|truncate:10:''|crmDate}{if $owner.registration_end_date} {ts}until{/ts} {$owner.registration_end_date|truncate:10:''|crmDate}{/if}.{/if} {else} {if $owner.start_date}
{ts}This campaign is active from{/ts} {$owner.start_date|truncate:10:''|crmDate} {ts}until{/ts} {$owner.end_date|truncate:10:''|crmDate}.{/if} {/if}

{foreach from = $links key = k item = v} {/foreach}
{ts}You can{/ts}:
» {$v.name}  {$hints.$k}
{ts}Tip{/ts} - {ts}You must be logged in to your account to access the editing options above. (If you visit this page without logging in, you will be viewing the page in "live" mode - as your visitors and friends see it.){/ts}
{/if}
{crmRegion name="pcp-page-pcpinfo"}
{$pcp.intro_text}
{if $image}
{$image}
{/if} {if $pcp.is_thermometer OR $pcp.is_honor_roll}
{if $pcp.is_thermometer}
{ts}Goal{/ts} {$pcp.goal_amount|crmMoney}
{$achieved}% towards our goal
{$total|crmMoney} {ts}raised{/ts}
{/if} {if $pcp.is_honor_roll}
{ts}HONOR ROLL{/ts}
{foreach from = $honor item = v}
{$v.nickname}
{$v.total_amount}
{$v.personal_note}
{/foreach}
{/if}
{/if}
{$pcp.page_text}
{if $validDate && $contributeURL}
{* Show link to PCP contribution if configured for online contribution *} {$contributionText}
{/if} {if $linkText}
{$linkText}
{/if} {/crmRegion}
{literal} {/literal}