</td>
</tr>
{/if}
+ {if $event.allow_selfcancelxfer }
+ This event allows for self-cancel or transfer
+ {capture assign=selfService}{crmURL p='civicrm/event/selfsvcupdate' q="reset=1&pid=`$participantID`&{contact.checksum}" h=0 a=1 fe=1}{/capture}
+ <a href="{$selfService}">{ts}Self service cancel transfer{/ts}</a>
+ {/if}
+
<tr>
<td>
<table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;">
{if $isShowLocation}
<tr>
<td colspan="2" {$valueStyle}>
- {if $event.location.address.1.name}
- {$event.location.address.1.name}<br />
- {/if}
- {if $event.location.address.1.street_address}
- {$event.location.address.1.street_address}<br />
- {/if}
- {if $event.location.address.1.supplemental_address_1}
- {$event.location.address.1.supplemental_address_1}<br />
- {/if}
- {if $event.location.address.1.supplemental_address_2}
- {$event.location.address.1.supplemental_address_2}<br />
- {/if}
- {if $event.location.address.1.city}
- {$event.location.address.1.city} {$event.location.address.1.postal_code}
- {if $event.location.address.1.postal_code_suffix}
- - {$event.location.address.1.postal_code_suffix}
- {/if}
- {/if}
+ {$event.location.address.1.display|nl2br}
</td>
</tr>
{/if}
</table>
</td>
</tr>
-
+ {if $event.allow_selfcancelxfer }
+ <tr>
+ <td colspan="2" {$valueStyle}>
+ {ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $totalAmount}{ts}Cancellations are not refundable.{/ts}{/if}<br />
+ {capture assign=selfService}{crmURL p='civicrm/event/selfsvcupdate' q="reset=1&pid=`$participant.id`&{contact.checksum}" h=0 a=1 fe=1}{/capture}
+ <a href="{$selfService}">{ts}Click here to transfer or cancel your registration.{/ts}</a>
+ </td>
+ </tr>
+ {/if}
<tr>
- <td>
+ <td colspan="2" {$valueStyle}>
<p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>
</td>
</tr>