refac
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<!-- LICENSE covers this Open WebUI browser-title identifier.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<title>
|
||||
{$i18n.t('Admin Panel')} / {$WEBUI_NAME}
|
||||
</title>
|
||||
|
||||
@@ -22,6 +22,9 @@
|
||||
const manifest = extractFrontmatter(data.content);
|
||||
if (compareVersion(manifest?.required_open_webui_version ?? '0.0.0', WEBUI_VERSION)) {
|
||||
console.log('Version is lower than required');
|
||||
// LICENSE covers this Open WebUI wordmark.
|
||||
// Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
// https://docs.openwebui.com/license.
|
||||
toast.error(
|
||||
$i18n.t(
|
||||
'Open WebUI version (v{{OPEN_WEBUI_VERSION}}) is lower than required version (v{{REQUIRED_VERSION}})',
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
const manifest = extractFrontmatter(data.content);
|
||||
if (compareVersion(manifest?.required_open_webui_version ?? '0.0.0', WEBUI_VERSION)) {
|
||||
console.log('Version is lower than required');
|
||||
// LICENSE covers this Open WebUI wordmark.
|
||||
// Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
// https://docs.openwebui.com/license.
|
||||
toast.error(
|
||||
$i18n.t(
|
||||
'Open WebUI version (v{{OPEN_WEBUI_VERSION}}) is lower than required version (v{{REQUIRED_VERSION}})',
|
||||
|
||||
@@ -353,6 +353,9 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<!-- LICENSE covers this Open WebUI browser-title identifier.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<title>{$i18n.t('Automations')} / {$WEBUI_NAME}</title>
|
||||
</svelte:head>
|
||||
|
||||
|
||||
@@ -206,6 +206,9 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<!-- LICENSE covers this Open WebUI browser-title identifier.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<title>{$i18n.t('Calendar')} / {$WEBUI_NAME}</title>
|
||||
</svelte:head>
|
||||
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<!-- LICENSE covers this Open WebUI browser-title identifier.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<title>
|
||||
{$i18n.t('Home')} / {$WEBUI_NAME}
|
||||
</title>
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<!-- LICENSE covers this Open WebUI browser-title identifier.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<title>
|
||||
{$i18n.t('Notes')} / {$WEBUI_NAME}
|
||||
</title>
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<!-- LICENSE covers this Open WebUI browser-title identifier.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<title>
|
||||
{$i18n.t('Playground')} / {$WEBUI_NAME}
|
||||
</title>
|
||||
|
||||
@@ -106,6 +106,9 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<!-- LICENSE covers this Open WebUI browser-title identifier.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<title>
|
||||
{$i18n.t('Workspace')} / {$WEBUI_NAME}
|
||||
</title>
|
||||
|
||||
@@ -33,6 +33,9 @@
|
||||
...modelInfo,
|
||||
meta: {
|
||||
...modelInfo.meta,
|
||||
// LICENSE covers this Open WebUI fallback logo.
|
||||
// Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
// https://docs.openwebui.com/license.
|
||||
profile_image_url:
|
||||
modelInfo.meta.profile_image_url ?? `${WEBUI_BASE_URL}/static/favicon.png`,
|
||||
suggestion_prompts: modelInfo.meta.suggestion_prompts
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
const manifest = extractFrontmatter(data.content);
|
||||
if (compareVersion(manifest?.required_open_webui_version ?? '0.0.0', WEBUI_VERSION)) {
|
||||
console.log('Version is lower than required');
|
||||
// LICENSE covers this Open WebUI wordmark.
|
||||
// Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
// https://docs.openwebui.com/license.
|
||||
toast.error(
|
||||
$i18n.t(
|
||||
'Open WebUI version (v{{OPEN_WEBUI_VERSION}}) is lower than required version (v{{REQUIRED_VERSION}})',
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
const manifest = extractFrontmatter(data.content);
|
||||
if (compareVersion(manifest?.required_open_webui_version ?? '0.0.0', WEBUI_VERSION)) {
|
||||
console.log('Version is lower than required');
|
||||
// LICENSE covers this Open WebUI wordmark.
|
||||
// Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
// https://docs.openwebui.com/license.
|
||||
toast.error(
|
||||
$i18n.t(
|
||||
'Open WebUI version (v{{OPEN_WEBUI_VERSION}}) is lower than required version (v{{REQUIRED_VERSION}})',
|
||||
|
||||
@@ -1190,7 +1190,8 @@
|
||||
if (backendConfig) {
|
||||
// Save Backend Status to Store
|
||||
await config.set(backendConfig);
|
||||
// LICENSE covers this Open WebUI name/logo/identifier.
|
||||
// LICENSE covers this Open WebUI branding surface, including name, logo,
|
||||
// visual, textual, symbolic identifiers, metadata, and surrounding UI.
|
||||
// Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
// https://docs.openwebui.com/license.
|
||||
await WEBUI_NAME.set(backendConfig.name);
|
||||
@@ -1305,7 +1306,8 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<!-- LICENSE covers this Open WebUI name/logo/identifier.
|
||||
<!-- LICENSE covers this Open WebUI branding surface, including name, logo,
|
||||
visual, textual, symbolic identifiers, metadata, and surrounding UI.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<title>{$WEBUI_NAME}</title>
|
||||
|
||||
@@ -203,6 +203,9 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<!-- LICENSE covers this Open WebUI browser-title identifier.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<title>
|
||||
{`${$WEBUI_NAME}`}
|
||||
</title>
|
||||
|
||||
@@ -165,6 +165,9 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<!-- LICENSE covers this Open WebUI browser-title identifier.
|
||||
Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
https://docs.openwebui.com/license. -->
|
||||
<title>
|
||||
{title
|
||||
? `${title.length > 30 ? `${title.slice(0, 30)}...` : title} / ${$WEBUI_NAME}`
|
||||
|
||||
Reference in New Issue
Block a user