From: Frank J. Gómez Date: Wed, 17 Jul 2013 07:13:39 +0000 (-0400) Subject: CRM-13054: Add crmRegions to EventInfo template. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2a60cb6a68f5204f170ccd1f9bac3c2187466eeb;p=civicrm-core.git CRM-13054: Add crmRegions to EventInfo template. --- diff --git a/templates/CRM/Event/Page/EventInfo.tpl b/templates/CRM/Event/Page/EventInfo.tpl index 90b9da97ea..d50365a891 100644 --- a/templates/CRM/Event/Page/EventInfo.tpl +++ b/templates/CRM/Event/Page/EventInfo.tpl @@ -84,24 +84,26 @@ {/if}
- {if $event.summary} -
+ {* 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"} + + {/crmRegion} + {/if} + + {if $event.summary} +
{$event.summary}
{/if} {if $event.description}
- {* Put the top register link to the right of description if no summary *} - {if $allowRegistration && !$event.summary} - - {/if} {$event.description}
{/if} @@ -209,11 +211,15 @@ {include file="CRM/Custom/Page/CustomDataView.tpl"} - {if $allowRegistration} - + {/crmRegion} { if $event.is_public }
{include file="CRM/Event/Page/iCalLinks.tpl"} {/if}