tableModel')) {
            $locale = \RainLab\Translate\Classes\Translator::instance()->getLocale();
            $pageTitle = isset($pageObj->page->viewBag['title']) ? $pageObj->page->viewBag['title'] : $pageTitle;
            $pageUrl = isset($pageObj->page->getViewBag()->property('localeUrl')[$locale]) ? $pageObj->page->getViewBag()->property('localeUrl')[$locale] : $pageUrl;
        }

    ?>
    <li
        class="<?= $pageObj->subpages ? 'has-subitems' : null ?>"
        data-status="<?= $groupStatus 