Enotice fix
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 22 Sep 2021 23:19:08 +0000 (11:19 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 22 Sep 2021 23:19:08 +0000 (11:19 +1200)
templates/CRM/Event/Page/iCalLinks.tpl

index b122b063783dbaab5084fafaa7a1e98e04cda97e..05a676c69469e94a579873146c6f290fc36ce78f 100644 (file)
@@ -9,7 +9,7 @@
 *}
 {* Display icons / links for ical download and feed for EventInfo.tpl, ThankYou.tpl, DashBoard.tpl, and ManageEvent.tpl *}
   {foreach from=$iCal item="iCalItem"}
-  <a href="{$iCalItem.url}" title="{$iCalItem.text}"{if !$event} class="crm-event-feed-link"{/if}>
+  <a href="{$iCalItem.url}" title="{$iCalItem.text}"{if !empty($event)} class="crm-event-feed-link"{/if}>
     <span class="fa-stack" aria-hidden="true"><i class="crm-i fa-calendar-o fa-stack-2x"></i><i style="top: 15%;" class="crm-i {$iCalItem.icon} fa-stack-1x"></i></span>
     <span class="sr-only">{$iCalItem.text}</span>
   </a>