Public status messages should show correct class/icon like error
authorRich Lott / Artful Robot <forums@artfulrobot.uk>
Thu, 21 May 2020 13:19:55 +0000 (14:19 +0100)
committerRich Lott / Artful Robot <forums@artfulrobot.uk>
Thu, 21 May 2020 13:19:55 +0000 (14:19 +0100)
templates/CRM/common/status.tpl

index c2d81be5a2ec089901846cd5bba592a9032ec4cb..27f5fbc0faa5eb05f5b38d68e5ab7afb46d81bbc 100644 (file)
@@ -13,7 +13,7 @@
   {assign var="status" value=$session->getStatus(true)}
   {foreach name=statLoop item=statItem from=$status}
     {if $urlIsPublic}
-      {assign var="infoType" value="no-popup"}
+      {assign var="infoType" value="no-popup `$statItem.type`"}
     {else}
       {assign var="infoType" value=$statItem.type}
     {/if}