private BaseModel GetBaseModel() { BaseModel item = new BaseModel { LoadingImage = Page.ResolveUrl("~/DesktopModules/Vanjaro/UXManager/Library/Resources/Images/loading.gif"), AboutUrl = AppManager.GetAboutUrl(), Logo = Page.ResolveUrl("~/DesktopModules/Vanjaro/UXManager/Library/Resources/Images/Vanjaro.png"), MenuMarkUp = MenuManager.RenderMenu(MenuManager.ParseMenuCategoryTree(null), null), NotificationCount = Core.Managers.NotificationManager.RenderNotificationsCount(PortalSettings.PortalId), ToolbarMarkUp = ToolbarManager.RenderMenu(), LanguageMarkUp = LanguageManager.RenderLanguages(), HasShortcut = (ShortcutManager.GetShortcut().Where(x => x.Shortcut.Visibility).Count() > 0) }; item.ShortcutMarkUp = item.HasShortcut ? ShortcutManager.RenderShortcut() : string.Empty; item.HasTabEditPermission = TabPermissionController.HasTabPermission("EDIT"); item.ShowUXManagerToolbar = Editor.VjObjects.ShowUXManagerToolbar; item.ShowUXManager = string.IsNullOrEmpty(Core.Managers.CookieManager.GetValue("InitGrapejs")) ? false : Convert.ToBoolean(Core.Managers.CookieManager.GetValue("InitGrapejs")); return(item); }