Update Blog.tpl
authorNicol <vingle@users.noreply.github.com>
Sat, 2 Dec 2023 13:58:20 +0000 (13:58 +0000)
committerGitHub <noreply@github.com>
Sat, 2 Dec 2023 13:58:20 +0000 (13:58 +0000)
Removed unnecessary conditional/open

templates/CRM/Dashlet/Page/Blog.tpl

index bdc5f6f590a56494ba6170bd6c5b8565ac16ba5d..cdf9edc472d10e8428886210bcb0a17888994bb3 100644 (file)
@@ -46,7 +46,7 @@
   {foreach from=$feeds item="channel"}
     <div id="civicrm-news-feed-{$channel.name}">
     {foreach from=$channel.items item=article}
-      <details class="crm-accordion-wrapper" {if $rows}open=""{/if}">
+      <details class="crm-accordion-wrapper">
         <summary class="crm-accordion-header">
           <span class="crm-news-feed-item-title">{$article.title|smarty:nodefaults|purify}</span>
           <span class="crm-news-feed-item-preview"> - {if function_exists('mb_substr')}{$article.description|smarty:nodefaults|strip_tags|mb_substr:0:150}{else}{$article.description|smarty:nodefaults|strip_tags}{/if}</span>