{/if}
<div class="vevent crm-event-id-{$event.id} crm-block crm-event-info-form-block">
<div class="event-info">
- {if $event.summary}
- <div class="crm-section event_summary-section">
+ {* Display top buttons only if the page is long enough to merit duplicate buttons *}
+ {if $event.summary or $event.description}
+ {crmRegion name="event-page-eventinfo-actionlinks-top"}
+ <div class="actionlinks-top">
{if $allowRegistration}
<div class="action-link section register_link-section register_link-top">
<a href="{$registerURL}" title="{$registerText}" class="button crm-register-button"><span>{$registerText}</span></a>
</div>
{/if}
+ </div>
+ {/crmRegion}
+ {/if}
+
+ {if $event.summary}
+ <div class="crm-section event_summary-section">
{$event.summary}
</div>
{/if}
{if $event.description}
<div class="crm-section event_description-section summary">
- {* Put the top register link to the right of description if no summary *}
- {if $allowRegistration && !$event.summary}
- <div class="action-link section register_link-section register_link-top">
- <a href="{$registerURL}" title="{$registerText}" class="button crm-register-button"><span>{$registerText}</span></a>
- </div>
- {/if}
{$event.description}
</div>
{/if}
{include file="CRM/Custom/Page/CustomDataView.tpl"}
- {if $allowRegistration}
- <div class="action-link section register_link-section register_link-bottom">
+ {crmRegion name="event-page-eventinfo-actionlinks-bottom"}
+ <div class="actionlinks-bottom">
+ {if $allowRegistration}
+ <div class="action-link section register_link-section register_link-bottom">
<a href="{$registerURL}" title="{$registerText}" class="button crm-register-button"><span>{$registerText}</span></a>
- </div>
- {/if}
+ </div>
+ {/if}
+ </div>
+ {/crmRegion}
{ if $event.is_public }
<br />{include file="CRM/Event/Page/iCalLinks.tpl"}
{/if}