{#if loaded}
{#if !['user', 'admin'].includes($user.role)}
Account Activation Pending
Contact Admin for WebUI Access
Your account status is currently pending activation. To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.
{:else if checkVersion(REQUIRED_OLLAMA_VERSION, ollamaVersion ?? '0')}
Connection Issue or Update Needed
Oops! It seems like your Ollama needs a little attention. We've detected either a connection hiccup or observed that you're using an older version. Ensure you're on the latest Ollama version (version {REQUIRED_OLLAMA_VERSION} or higher) or check your connection.
{:else if localDBChats.length > 0}
Important Update
Action Required for Chat Log Storage
Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through Settings > Chats > Import Chats. This ensures that your valuable conversations are securely saved to your backend database. Thank you!
{/if}
{/if}