Skip to content

Commit

Permalink
Merge pull request #12209 from JMAConsulting/access-3-event
Browse files Browse the repository at this point in the history
dev/accessiblity#3 Remove orphan label tag from Event pages
  • Loading branch information
eileenmcnaughton authored Jun 8, 2018
2 parents c898924 + c7deaaf commit f58d84b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions templates/CRM/Event/Form/Registration/EventInfoBlock.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{/if}
</td>
</tr>
<tr><td><label>{ts}When{/ts}</label></td>
<tr><td>{ts}When{/ts}</td>
<td width="90%">
{$event.event_start_date|crmDate}
{if $event.event_end_date}
Expand All @@ -51,7 +51,7 @@

{if $isShowLocation}
{if $location.address.1}
<tr><td><label>{ts}Location{/ts}</label></td>
<tr><td>{ts}Location{/ts}</td>
<td>
{$location.address.1.display|nl2br}
{if ( $event.is_map &&
Expand All @@ -66,7 +66,7 @@
{/if}{*End of isShowLocation condition*}

{if $location.phone.1.phone || $location.email.1.email}
<tr><td><label>{ts}Contact{/ts}</label></td>
<tr><td>{ts}Contact{/ts}</td>
<td>
{* loop on any phones and emails for this event *}
{foreach from=$location.phone item=phone}
Expand Down
8 changes: 4 additions & 4 deletions templates/CRM/Event/Page/EventInfo.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
{/if}
<div class="clear"></div>
<div class="crm-section event_date_time-section">
<div class="label"><label>{ts}When{/ts}</label></div>
<div class="label">{ts}When{/ts}</div>
<div class="content">
<abbr class="dtstart" title="{$event.event_start_date|crmDate}">
{$event.event_start_date|crmDate}</abbr>
Expand All @@ -140,7 +140,7 @@

{if $location.address.1}
<div class="crm-section event_address-section">
<div class="label"><label>{ts}Location{/ts}</label></div>
<div class="label">{ts}Location{/ts}</div>
<div class="content">{$location.address.1.display|nl2br}</div>
<div class="clear"></div>
</div>
Expand All @@ -164,7 +164,7 @@

{if $location.phone.1.phone || $location.email.1.email}
<div class="crm-section event_contact-section">
<div class="label"><label>{ts}Contact{/ts}</label></div>
<div class="label">{ts}Contact{/ts}</div>
<div class="content">
{* loop on any phones and emails for this event *}
{foreach from=$location.phone item=phone}
Expand All @@ -186,7 +186,7 @@

{if $event.is_monetary eq 1 && $feeBlock.value}
<div class="crm-section event_fees-section">
<div class="label"><label>{$event.fee_label}</label></div>
<div class="label">{$event.fee_label}</div>
<div class="content">
<table class="form-layout-compressed fee_block-table">
{foreach from=$feeBlock.value name=fees item=value}
Expand Down

0 comments on commit f58d84b

Please sign in to comment.