From 2a60cb6a68f5204f170ccd1f9bac3c2187466eeb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Frank=20J=2E=20G=C3=B3mez?= Date: Wed, 17 Jul 2013 03:13:39 -0400 Subject: [PATCH] CRM-13054: Add crmRegions to EventInfo template. --- templates/CRM/Event/Page/EventInfo.tpl | 30 +++++++++++++++----------- 1 file changed, 18 insertions(+), 12 deletions(-) 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} -- 2.25.1