Remove extra whitespace around date through in EventInfoBlock
authorlarssandergreen <lars@wildsight.ca>
Sun, 4 Jun 2023 15:47:06 +0000 (09:47 -0600)
committerlarssandergreen <lars@wildsight.ca>
Sun, 4 Jun 2023 15:47:06 +0000 (09:47 -0600)
templates/CRM/Event/Form/Registration/EventInfoBlock.tpl

index c75be4e1d365573a5815888c4d737b8795f21db8..85d27f42f6ee11e98279e0daf12497ad57ece6c6 100644 (file)
   <tr><td>{ts}When{/ts}</td>
       <td width="90%">
         {$event.event_start_date|crmDate}
-        {if $event.event_end_date}
-            &nbsp; {ts}through{/ts} &nbsp;
+        {if $event.event_end_date}{ts}through{/ts}
             {* Only show end time if end date = start date *}
             {if $event.event_end_date|crmDate:"%Y%m%d" == $event.event_start_date|crmDate:"%Y%m%d"}
-                {$event.event_end_date|crmDate:0:1}
+              {$event.event_end_date|crmDate:0:1}
             {else}
-                {$event.event_end_date|crmDate}
+              {$event.event_end_date|crmDate}
             {/if}
         {/if}
       </td>