<ul class="navbar-nav sidebar sidebar-light accordion" id="accordionSidebar">
    <a class="sidebar-brand d-flex align-items-center justify-content-center" href="#">
        <div class="sidebar-brand-icon">
            <img src="<?php echo base_url('public/assets/restricted/img/logo/logo.png'); ?>" width="63px">
        </div>
        <div class="sidebar-brand-text mx-3 fw-lighter">DocNex Publicações</div>
    </a>

    <li class="nav-item">
        <a class="nav-link" href="<?php echo base_url('restricted/editor/home'); ?>">
            <i class="fas fa-fw fa-tachometer-alt"></i>
            Home
        </a>
    </li>

    <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseChapters" aria-expanded="true" aria-controls="collapseTable">
            <i class="fas fa-fw fa-book"></i>
            Capítulos
        </a>
        <div id="collapseChapters" class="collapse" aria-labelledby="headingTable" data-parent="#accordionSidebar">
            <div class="bg-white py-2 collapse-inner rounded">
                <h6 class="collapse-header">Capítulos</h6>
                <a class="collapse-item" href="<?php echo base_url('restricted/chapters/chapters/editor'); ?>">Todos</a>
                <a class="collapse-item" href="<?php echo base_url('restricted/chapters/chapters_approved/editor'); ?>">Aprovados</a>
                <a class="collapse-item" href="<?php echo base_url('restricted/chapters/chapters_recused/editor'); ?>">Recusados</a>
                <a class="collapse-item" href="<?php echo base_url('restricted/chapters/chapters_in_review/editor'); ?>">Em revisão</a>
                <a class="collapse-item" href="<?php echo base_url('restricted/chapters/chapters_waiting_review/editor'); ?>">Aguardando revisão</a>
            </div>
        </div>
    </li>

    <li class="nav-item">
        <a class="nav-link" href="<?php echo base_url('restricted/editor/home/assign_reviewer_view'); ?>">
            <i class="fas fa-fw fa-user"></i>
            Designar revisor
        </a>
    </li>

    <li class="nav-item">
        <a class="nav-link collapsed" href="<?php echo base_url('restricted/notification/alerts/'.'editor'); ?>">
            <i class="fas fa-fw fa-bell"></i>
            Alertas
            <span class="badge badge-danger badge-counter" style="right: 6.55rem; margin-top: 5px;"><?php echo $unread_alerts; ?></span>
        </a>
    </li>

    <li class="nav-item">
        <a class="nav-link collapsed" href="<?php echo base_url('restricted/notification/messages/'.'editor'); ?>">
            <i class="fas fa-fw fa-envelope"></i>
            Mensagens
            <span class="badge badge-info badge-counter" style="right: 4.25rem; margin-top: 5px;"><?php echo $unread_messages; ?></span>
        </a>
    </li>
</ul>