From 53257761598592a27fe1b24220d6711c0079203d Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Thu, 10 Aug 2023 08:36:33 +0200 Subject: [PATCH] added shutdown warning --- frontend/src/app/components/main.component.pug | 4 ++++ frontend/src/app/components/main.component.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/frontend/src/app/components/main.component.pug b/frontend/src/app/components/main.component.pug index 7d50a32..bf4efd7 100644 --- a/frontend/src/app/components/main.component.pug +++ b/frontend/src/app/components/main.component.pug @@ -42,3 +42,7 @@ fa-icon.me-2([icon]='_saveIcon', [fixedWidth]='true') div div To save profiles and settings, #[a(href='/login') log in]. + .alert.alert-warning.d-flex.border-0.m-0(*ngIf='showDiscontinuationWarning') + fa-icon.me-2([icon]='_warningIcon', [fixedWidth]='true') + div + div app.tabby.sh will be shut down in September due to lack of funding, but you can run your own instance - check out the #[a(href='https://github.com/eugeny/tabby-web', target='_blank') tabby-web repo]. Make sure to copy your configuration as it won't be available later. diff --git a/frontend/src/app/components/main.component.ts b/frontend/src/app/components/main.component.ts index 318a50c..216d9a5 100644 --- a/frontend/src/app/components/main.component.ts +++ b/frontend/src/app/components/main.component.ts @@ -29,6 +29,7 @@ export class MainComponent { showApp = false noVersionsAdded = false missingVersion: string|undefined + showDiscontinuationWarning = location.hostname === 'localhost' @ViewChild('iframe') iframe: ElementRef