    <aside class="ps-4 pe-3 py-3 rightbar" data-bs-theme="none">
        <div class="navbar navbar-expand-xxl px-3 px-xl-0 py-0">
            <div class="offcanvas offcanvas-end" data-bs-scroll="true" tabindex="-1" id="offcanvas_rightbar" aria-labelledby="offcanvas_rightbar">
                <div class="offcanvas-body flex-column custom_scroll" style="background: var(--body-color);">
                    <!-- Вкладки -->
                    <ul class="nav nav-tabs tab-card justify-content-between px-0" role="tablist">
                        <li class="nav-item" role="presentation">
                            <button class="nav-link active pt-0" id="tab-tasks" data-bs-toggle="pill" data-bs-target="#pills_tasks" type="button" role="tab" aria-controls="pills_tasks" aria-selected="true">
                                {$lang.rsbar.tasks}
                            </button>
                        </li>
                       {* <li class="nav-item" role="presentation">
                            <button class="nav-link pt-0" id="tab-support" data-bs-toggle="pill" data-bs-target="#pills_support_chat" type="button" role="tab" aria-controls="pills_support_chat" aria-selected="false">
                                Support chat
                            </button>
                        </li>*}
                    </ul>

                    <!-- Контент вкладок -->
                    <div class="tab-content mt-3">
                        <!-- Вкладка: Задания -->
                        <div class="tab-pane fade show active" id="pills_tasks" role="tabpanel" aria-labelledby="tab-tasks">
                            <ul class="row list-unstyled li_animate">
                                <li class="nav-item mb-2">
                                    <button class="btn btn-outline-success btn-sm" onclick="smallModal('task_add_form')">
                                        Добавить задание
                                    </button>
                                </li>
                                <li class="col-12">
                                    {$tasks_list}
                                </li>
                            </ul>
                        </div>
                        <!-- Ваш оригинальный HTML без изменений -->
                    </div>
                </div>
            </div>
        </div>
    </aside>


    <script>
        window.globalLang = '{$globalLangJson}';
        window.globalLang = JSON.parse(window.globalLang);
    </script>
