{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* this template is used for displaying PCP information *} {if $owner}
{icon icon="fa-info-circle"}{/icon}

{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}