From c7deaaf0c66dbbd2148d7cffcc43d2d8bfe66c6f Mon Sep 17 00:00:00 2001 From: "deb.monish" Date: Fri, 25 May 2018 18:40:13 +0530 Subject: [PATCH] dev/accessiblity#3 Remove orphan label tag from Event pages --- templates/CRM/Event/Form/Registration/EventInfoBlock.tpl | 6 +++--- templates/CRM/Event/Page/EventInfo.tpl | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/CRM/Event/Form/Registration/EventInfoBlock.tpl b/templates/CRM/Event/Form/Registration/EventInfoBlock.tpl index 8241fe3f51..4bd052b9a5 100644 --- a/templates/CRM/Event/Form/Registration/EventInfoBlock.tpl +++ b/templates/CRM/Event/Form/Registration/EventInfoBlock.tpl @@ -34,7 +34,7 @@ {/if} - + {ts}When{/ts} {$event.event_start_date|crmDate} {if $event.event_end_date} @@ -51,7 +51,7 @@ {if $isShowLocation} {if $location.address.1} - + {ts}Location{/ts} {$location.address.1.display|nl2br} {if ( $event.is_map && @@ -66,7 +66,7 @@ {/if}{*End of isShowLocation condition*} {if $location.phone.1.phone || $location.email.1.email} - + {ts}Contact{/ts} {* loop on any phones and emails for this event *} {foreach from=$location.phone item=phone} diff --git a/templates/CRM/Event/Page/EventInfo.tpl b/templates/CRM/Event/Page/EventInfo.tpl index 23d1b9e314..5f0137a418 100644 --- a/templates/CRM/Event/Page/EventInfo.tpl +++ b/templates/CRM/Event/Page/EventInfo.tpl @@ -115,7 +115,7 @@ {/if}
-
+
{ts}When{/ts}
{$event.event_start_date|crmDate} @@ -140,7 +140,7 @@ {if $location.address.1}
-
+
{ts}Location{/ts}
{$location.address.1.display|nl2br}
@@ -164,7 +164,7 @@ {if $location.phone.1.phone || $location.email.1.email}
-
+
{ts}Contact{/ts}
{* loop on any phones and emails for this event *} {foreach from=$location.phone item=phone} @@ -186,7 +186,7 @@ {if $event.is_monetary eq 1 && $feeBlock.value}
-
+
{$event.fee_label}
{foreach from=$feeBlock.value name=fees item=value} -- 2.25.1