{foreach from=$notifications[notifications] item=notification}
  • {if $notification[event]->getAuthors()|count < 2}
    {@$notification[event]->getAuthor()->getAvatar()->getImageTag(24)}

    {@$notification[event]->getMessage()}

    {$notification[event]->getAuthor()->username} - {@$notification[time]|time}
    {else}

    {$notification[event]->getTitle()}

    {@$notification[time]|time}
    {/if}
  • {/foreach}