[viewBag]
==
<?php
function onStart()
{
   $link = $this->page["url"];

   $this["journalCount"] = Romanah\Gokbakja\Models\Journal::where("is_read", 0)->count();
}
?>
==
<a href="/journal" class="dropdown d-inline-block">
    <button type="button" class="btn header-item noti-icon waves-effect">
        <i class="ri-notification-3-line"></i>
        {% if journalCount > 0 %}
        <span class="noti-dot"></span>
        {% endif %}
    </button>
</a>
