Merge branch 4.5 into master
[civicrm-core.git] / CRM / Upgrade / 4.3.alpha1.msg_template / message_templates / event_online_receipt_html.tpl
index 512400a6432535ae6013aee4625a555fe9c85054..03e938a9dfee785269e1a486f2a0220e3a5e473f 100644 (file)
 
   <tr>
    <td>
-       <p>Dear {contact.display_name},</p>
+  <p>Dear {contact.display_name},</p>
 
     {if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}
      <p>{$event.confirm_email_text|htmlize}</p>
 
     {else}
-       <p>Thank you for your participation.  This letter is a confirmation that your registration has been received and your status has been updated to <strong>{if $isOnWaitlist}waitlisted{else}registered{/if}</strong> for the following:</p>
+  <p>Thank you for your participation.  This letter is a confirmation that your registration has been received and your status has been updated to <strong>{if $isOnWaitlist}waitlisted{else}registered{/if}</strong> for the following:</p>
 
     {/if}
 
     {if $isOnWaitlist}
      <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>
      {if $isPrimary}
-       <p>{ts}If space becomes available you will receive an email with
-a link to a web page where you can complete your registration.{/ts}</p>
+       <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>
      {/if}
     {elseif $isRequireApproval}
      <p>{ts}Your registration has been submitted.{/ts}</p>
      {if $isPrimary}
-      <p>{ts}Once your registration has been reviewed, you will receive
-an email with a link to a web page where you can complete the
-registration process.{/ts}</p>
+      <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>
      {/if}
     {elseif $is_pay_later && !$isAmountzero}
      <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}
@@ -72,20 +69,20 @@ registration process.{/ts}</p>
      {if $conference_sessions}
       <tr>
        <td colspan="2" {$labelStyle}>
-       {ts}Your schedule:{/ts}
+  {ts}Your schedule:{/ts}
        </td>
       </tr>
       <tr>
        <td colspan="2" {$valueStyle}>
-       {assign var='group_by_day' value='NA'}
-       {foreach from=$conference_sessions item=session}
-        {if $session.start_date|date_format:"%Y/%m/%d" != $group_by_day|date_format:"%Y/%m/%d"}
-         {assign var='group_by_day' value=$session.start_date}
+  {assign var='group_by_day' value='NA'}
+  {foreach from=$conference_sessions item=session}
+   {if $session.start_date|date_format:"%Y/%m/%d" != $group_by_day|date_format:"%Y/%m/%d"}
+    {assign var='group_by_day' value=$session.start_date}
           <em>{$group_by_day|date_format:"%m/%d/%Y"}</em><br />
-        {/if}
-        {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />
-        {if $session.location}&nbsp;&nbsp;&nbsp;&nbsp;{$session.location}<br />{/if}
-       {/foreach}
+   {/if}
+   {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />
+   {if $session.location}&nbsp;&nbsp;&nbsp;&nbsp;{$session.location}<br />{/if}
+  {/foreach}
        </td>
       </tr>
      {/if}
@@ -180,7 +177,7 @@ registration process.{/ts}</p>
      </tr>
      <tr>
        <td colspan="2" {$valueStyle}>
-             {$payer.name}
+        {$payer.name}
        </td>
      </tr>
     {/if}
@@ -212,7 +209,7 @@ registration process.{/ts}</p>
              <th>{ts}Qty{/ts}</th>
              <th>{ts}Each{/ts}</th>
              <th>{ts}Total{/ts}</th>
-            {if  $pricesetFieldsCount }<th>{ts}Total Participants{/ts}</th>{/if}
+       {if  $pricesetFieldsCount }<th>{ts}Total Participants{/ts}</th>{/if}
             </tr>
             {foreach from=$value item=line}
              <tr>
@@ -228,7 +225,7 @@ registration process.{/ts}</p>
               <td>
                {$line.line_total|crmMoney}
               </td>
-             {if $pricesetFieldsCount }<td>{$line.participant_count}</td> {/if}
+        {if $pricesetFieldsCount }<td>{$line.participant_count}</td> {/if}
              </tr>
             {/foreach}
            </table>
@@ -252,17 +249,17 @@ registration process.{/ts}</p>
        <tr>
         <td {$labelStyle}>
          {ts}Total Amount{/ts}
-        </td>  
+        </td>
         <td {$valueStyle}>
          {$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}
         </td>
        </tr>
        {if $pricesetFieldsCount }
      <tr>
-       <td {$labelStyle}> 
-      {ts}Total Participants{/ts}</td>   
+       <td {$labelStyle}>
+      {ts}Total Participants{/ts}</td>
       <td {$valueStyle}>
-      {assign var="count" value= 0}     
+      {assign var="count" value= 0}
       {foreach from=$lineItem item=pcount}
       {assign var="lineItemCount" value=0}
       {if $pcount neq 'skip'}
@@ -271,7 +268,7 @@ registration process.{/ts}</p>
         {/foreach}
       {if $lineItemCount < 1 }
         {assign var="lineItemCount" value=1}
-      {/if}    
+      {/if}
       {assign var="count" value=$count+$lineItemCount}
       {/if}
       {/foreach}
@@ -414,8 +411,8 @@ registration process.{/ts}</p>
      <tr><th {$headerStyle}>{$customProfile.title.$pid}</th></tr>
      {foreach from=$eachProfile item=val key=field}
      <tr>{foreach from=$val item=v key=f}
-         <td {$labelStyle}>{$field}</td> 
-         <td {$valueStyle}>{$v}</td> 
+         <td {$labelStyle}>{$field}</td>
+         <td {$valueStyle}>{$v}</td>
          {/foreach}
      </tr>
      {/foreach}
@@ -442,7 +439,7 @@ registration process.{/ts}</p>
        {/foreach}
       {/foreach}
      {/if}
-   
+
     </table>
    </td>
   </tr>